Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: Sat May 04 16:17:50 CEST 2024

Total time taken to generate the page: 0.02323 seconds