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 » CDialog::OnInitDialog (MFC) like method?
Re: CDialog::OnInitDialog (MFC) like method? [message #29686 is a reply to message #29685] Mon, 08 November 2010 14:10 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

alex100 wrote on Mon, 08 November 2010 13:09

But tell me how i know that window is already opened?

I simply make:

MyApp app;
app.run();

You can open the window explicitly:
MyApp app;
app.Open();
//do your customization here
app.Run(); //now this only starts the event loop for the already opened window


Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with Calendar control
Next Topic: widget or source code to handle dicom files
Goto Forum:
  


Current Time: Tue May 14 16:18:40 CEST 2024

Total time taken to generate the page: 0.01774 seconds