U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » TopWindow&PopUp, TrayIcon » How to just close a window£¿
How to just close a window£¿ [message #36772] Tue, 03 July 2012 13:05 Go to previous message
akebee is currently offline  akebee
Messages: 90
Registered: August 2011
Location: China
Member
Question coming again Rolling Eyes
	void DoOpen() {
		if(dlg.IsOpen())
			dlg.Close();
		else
			dlg.Run();
	}


it from gui tut "22. Non-modal dialogs",
if i change "dlg.Open()" to "dlg.Run()"(i just want modal dialog)
then if i want to close the dialog i must execute dlg.Close() twice!

What's wrong?
 
Read Message
Read Message
Previous Topic: support for maximising on second monitor[FEATURE_REQUEST]
Next Topic: TopWindow minimum size
Goto Forum:
  


Current Time: Tue Apr 28 04:02:28 GMT+2 2026

Total time taken to generate the page: 0.00560 seconds