[Service Manager]

- Patch by Hermes Belusca: Fix dialog painting. See bug 4965, marked as WIP.

svn path=/trunk/; revision=56671
This commit is contained in:
James Tabor 2012-05-28 20:12:21 +00:00
parent 14c472ac5d
commit bf77113125
2 changed files with 7 additions and 1 deletions

View file

@ -171,6 +171,12 @@ CreateProgressDialog(HWND hParent,
0,
lpProgStr);
}
/* Finally, show and update the progress dialog */
ShowWindow(hProgDlg, SW_SHOWNORMAL);
UpdateWindow(hProgDlg);
// TODO: Add a message loop for it ?
}
return hProgDlg;

View file

@ -47,7 +47,7 @@ _tWinMain(HINSTANCE hThisInstance,
/* pump the message queue */
while( GetMessage( &Msg, NULL, 0, 0 ) )
{
//if(! IsDialogMessage(hProgDlg, &Msg) )
//if ( !hProgDlg || !IsWindow(hProgDlg) || !IsDialogMessage(hProgDlg, &Msg) )
//{
TranslateMessage(&Msg);
DispatchMessage(&Msg);