Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » CExtResizableDialog initially hided Collapse All
Subject Author Date
Massimo Germi Aug 1, 2007 - 10:27 AM

Hi to all,
I have difficulty to create an application, dialog based, witch is initially hided.
When I call ShowWindow(SW_HIDE) doesn’t appears.

Do tou have any suggestions?

tx a lot

Technical Support Aug 1, 2007 - 11:45 AM

The DoModal() method shows the dialog window even if the dialog resource is not configured as visible. You should create your dialog using the Create() method. The dialog should instantiated in dynamic memory and the CWinApp::m_pMainWnd pointer should point to your dialog. This dialog will be invisible if the dialog resource is not configured as visible.