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 » U++ Widgets - General questions or Mixed problems » How to Close Modal Dlg from Constructor?
How to Close Modal Dlg from Constructor? [message #18371] Thu, 25 September 2008 09:46 Go to previous message
kbyte is currently offline  kbyte
Messages: 87
Registered: July 2008
Member
Hi,
I am trying to make a "Wait a moment, please..." dlg that is shown while computation is running. When computation finish the dlg must be closed automatically.
So, I used a modal dlg and in the contructor i have the following code:

ConstructorMethod
{
...
executeAlgorithm();
Close();
}

But the dlg never closes... As it as a close button if I click it the dlg closes.

Any ideas?

Alex
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ImageBuffer Paint problem
Next Topic: DHCtrl based control issue in Windows Vista
Goto Forum:
  


Current Time: Fri May 10 09:34:25 CEST 2024

Total time taken to generate the page: 0.01807 seconds