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

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: 1796
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: Thu Sep 17 11:08:58 GMT+2 2026

Total time taken to generate the page: 0.01297 seconds