List Info

Thread: Remove title bar from frame and have no close box?




Remove title bar from frame and have no close box?
country flaguser name
United States
2007-10-16 16:49:18

Is there anyway in DialogBlocks to remove a title bar from a frame? Or
is there some other option? I have tried wxNO_BORDER and
wxFRAME_TOOL_WINDOW and mucking around with other settings - but i am
still getting a title bar.

Connected to this, even if I dont check wxCLOSE_BOX, I still get one in
the title bar.

I want my main window to have no title bar and no way for the user to
be able to close the window. This is an embedded app and so will be the
only application running on the embedded computer.

How can I do this?

TIA
Mark

__._,_.___
.

__,_._,___
Re: Remove title bar from frame and have no close box?
country flaguser name
United Kingdom
2007-10-16 16:59:42

Hi Mark,

You can remove the wxDEFAULT_FRAME_STYLE and clear just about everything
decoration-related - that ought to do it. Or does it not? Actually I
think the preview may put back a caption for the purposes of being to
close the window...

Regards,

Julian

easton.mark wrote:
> Is there anyway in DialogBlocks to remove a title bar from a frame? Or
> is there some other option? I have tried wxNO_BORDER and
> wxFRAME_TOOL_WINDOW and mucking around with other settings - but i am
> still getting a title bar.
>;
> Connected to this, even if I dont check wxCLOSE_BOX, I still get one in
> the title bar.
>;
> I want my main window to have no title bar and no way for the user to
> be able to close the window. This is an embedded app and so will be the
> only application running on the embedded computer.
>
> How can I do this?
>
> TIA
> Mark
>;
>
>
>
> Yahoo! Groups Links
>
>
>
>;
>
>

--
Julian Smart, Anthemion Software Ltd.
28/5 Gillespie Crescent, Edinburgh, Midlothian, EH10 4HU
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
wxWidgets RAD: www.anthemion.co.uk/dialogblocks

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )