mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 02:37:06 +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
|
@ -171,6 +171,12 @@ CreateProgressDialog(HWND hParent,
|
||||||
0,
|
0,
|
||||||
lpProgStr);
|
lpProgStr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Finally, show and update the progress dialog */
|
||||||
|
ShowWindow(hProgDlg, SW_SHOWNORMAL);
|
||||||
|
UpdateWindow(hProgDlg);
|
||||||
|
|
||||||
|
// TODO: Add a message loop for it ?
|
||||||
}
|
}
|
||||||
|
|
||||||
return hProgDlg;
|
return hProgDlg;
|
||||||
|
|
|
@ -47,7 +47,7 @@ _tWinMain(HINSTANCE hThisInstance,
|
||||||
/* pump the message queue */
|
/* pump the message queue */
|
||||||
while( GetMessage( &Msg, NULL, 0, 0 ) )
|
while( GetMessage( &Msg, NULL, 0, 0 ) )
|
||||||
{
|
{
|
||||||
//if(! IsDialogMessage(hProgDlg, &Msg) )
|
//if ( !hProgDlg || !IsWindow(hProgDlg) || !IsDialogMessage(hProgDlg, &Msg) )
|
||||||
//{
|
//{
|
||||||
TranslateMessage(&Msg);
|
TranslateMessage(&Msg);
|
||||||
DispatchMessage(&Msg);
|
DispatchMessage(&Msg);
|
||||||
|
|
Loading…
Reference in a new issue