Home » U++ Library support » TopWindow&PopUp, TrayIcon » Modal vs non-modal window
Re: Modal vs non-modal window [message #12003 is a reply to message #11985] |
Sun, 07 October 2007 18:33 |
NeonN
Messages: 8 Registered: September 2007 Location: Czech Republic
|
Promising Member |
|
|
luzr wrote on Sat, 06 October 2007 17:59 |
Also, Open() picks "last active window" of application as its owner (which usuallly is the right window to use..). That is why there has to be OpenMain (which does not pick anything, makes it the "main" window).
|
Thx, a lot. I was wondering what is the difference between Open() and Open(this) ... now I get it.
luzr wrote on Sat, 06 October 2007 18:07 |
For modeless things, usually it is better to just make those subdialogs a member variables (no pointers); to open and close them as needed, no news and deletes involved. This also has the advantage that the content of dialog is accessible in the containing class, so there is often no need to transfer widget data to variables and back...
|
I read it once before somewhere on this forum... is there any other reason to don't use 'new' for dialogs? If I use 'new', the window doesn't disappear after it's init class-member function is done and the widgets are cleared after closing the window. But I don't know if it's OK to use Ultimate++ this way ...
|
|
|
|
|
Modal vs non-modal window
By: NeonN on Wed, 03 October 2007 20:13
|
|
|
Re: Modal vs non-modal window
By: mrjt on Thu, 04 October 2007 13:08
|
|
|
Re: Modal vs non-modal window
By: NeonN on Thu, 04 October 2007 18:59
|
|
|
Re: Modal vs non-modal window
By: NeonN on Thu, 04 October 2007 20:08
|
|
|
Re: Modal vs non-modal window
By: mrjt on Fri, 05 October 2007 12:09
|
|
|
Re: Modal vs non-modal window
By: NeonN on Fri, 05 October 2007 13:47
|
|
|
Re: Modal vs non-modal window
By: mrjt on Fri, 05 October 2007 14:47
|
|
|
Re: Modal vs non-modal window
By: mirek on Sat, 06 October 2007 18:07
|
|
|
Re: Modal vs non-modal window
By: NeonN on Sun, 07 October 2007 18:33
|
|
|
Re: Modal vs non-modal window
By: mirek on Sun, 07 October 2007 19:37
|
|
|
Re: Modal vs non-modal window
By: NeonN on Sun, 07 October 2007 20:32
|
|
|
Re: Modal vs non-modal window
By: mirek on Sun, 07 October 2007 23:46
|
|
|
Re: Modal vs non-modal window
By: NeonN on Mon, 08 October 2007 09:14
|
|
|
Re: Modal vs non-modal window
By: mirek on Mon, 08 October 2007 10:52
|
|
|
Re: Modal vs non-modal window
By: NeonN on Mon, 08 October 2007 14:58
|
|
|
Re: Modal vs non-modal window
By: mirek on Sat, 06 October 2007 17:59
|
|
|
Re: Modal vs non-modal window
By: exolon on Fri, 05 October 2007 11:55
|
Goto Forum:
Current Time: Mon May 27 21:26:06 CEST 2024
Total time taken to generate the page: 0.00730 seconds
|