mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 06:45:24 +00:00
[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:
parent
14c472ac5d
commit
bf77113125
2 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue