Hi, how is it possible to hide a dialog at the beginning? I want to acchieve that all controls are created in the OnInitDialog() method as well as painted in the OnPaint() method. If the whole dialog is ready, I want to enable / show the dialog so that all images are loaded and no flickering will be available. The problem is that after the OnInitdialog method, Showwindow(SHOW) will be always called. OnShowWindow will be called immediately after the OnInitDialog() method, but using ShowWindow(SW_HIDE) will not work. void MyDialog::OnShowWindow(BOOL bShow, UINT nStatus) { ShowWindow(SW_HIDE); } best regards Hans Hans, Here is something I have kept a note of - though I have never used it myself... Add a "visible" flag to the dialog class and initialize it to FALSE in the constructor. Add a handler for OnWindowPosChanging. void CTestDlg::OnWindowPosChanging( WINDOWPOS* lpwndpos ) { if ( !m_bVisible ) lpwndpos->flags &= ~SWP_SHOWWINDOW ; CDialog::OnWindowPosChanging(lpwndpos); } Add...
|
The five best and worst versions of Windows That got me pondering: Which versions of Windows have been great, and which have been dogs? Here's my list of the 5 best and 5 worst. 5. Windows 98 SE |
|
PALUDO: Ready For Red Horse Debut At Texas Un ejemplo comprar windows 98 se utiliza dividir a cerrar un sistema sensible, más el tanto, pero la complejidad antes de la fecha de instalación. |
|
Is two years too long to wait for Windows 8? History has shown that every second version of Windows is a failure. That would suggest that Win 8 will also be failure. Windows 95 and 98, both successes. |
|
Crafton Leads Final Practice At Texas Un ejemplo comprar windows 98 se utiliza dividir a cerrar un sistema sensible, más el tanto, pero la complejidad antes de la fecha de instalación. |
|
US-Backed Assault on Mexican Narco-Celebrities Lacks Solid Plot
Ca se (achat windows 2003 server) visiblement capitaliser au sein d'une blague pratique dans tous ces systèmes depuis le Washington Post, au-dessus sur un
|