Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: rickg22 on November 09, 2005, 03:34:46 am

Title: closing borderless dialogs.
Post by: rickg22 on November 09, 2005, 03:34:46 am
OK This bug has been submitted about a megazillion times. How about making all dialogs with a frame, and resizeable on design time?
Title: Re: closing borderless dialogs.
Post by: tiwag on November 09, 2005, 08:02:36 am
i disagree - when i want to create a borderless dialog i also want to see it as such in the preview

the solution could be another button which explicitly closes the preview-dialog or a message somewhere that one can close the preview-dialog by pressing Alt-F4 (as i do it all the time)
Title: Re: closing borderless dialogs.
Post by: rickg22 on November 09, 2005, 05:09:28 pm
Perhaps a right-click might do the trick?
Title: Re: closing borderless dialogs.
Post by: byo on November 09, 2005, 05:40:49 pm
OK This bug has been submitted about a megazillion times. How about making all dialogs with a frame, and resizeable on design time?

The second should be easy one :)
The first... hmmm, maybe ESC key would be good for closing preview or some additional button when previewing borderless. Right click - that would be also good but some widgets have problems with handling mouse events (f.ex. combobox). And maybe some combination would be nice :D
Title: Re: closing borderless dialogs.
Post by: byo on November 12, 2005, 01:36:51 pm
Ok, I've solved the borderless dialog problem.

Preview is no longer modal. It can be closed by pressing close box, pressing ESC key or clicking on preview button again. Changes are on CVS.

BTW. Palette and all buttons have been moved into editor area. wxSmith tab is no longer in messages. Hope it will be better :)