mirror of
https://github.com/reactos/reactos.git
synced 2024-09-14 06:42:52 +00:00
Remove flickering reducing trick, because it does not work under windows, and the problem does not exist under reactos anyway.
svn path=/trunk/; revision=25260
This commit is contained in:
parent
791dced4bb
commit
718618b8a1
|
@ -305,11 +305,6 @@ LRESULT CALLBACK WndProc (HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
|
|||
MoveWindow(hHelpButton, LOWORD(lParam)-50, 10, 40, 40, FALSE);
|
||||
MoveWindow(hUpdateButton, LOWORD(lParam)-100, 10, 40, 40, FALSE);
|
||||
MoveWindow(hDownloadButton, (Split_Vertical+LOWORD(lParam))/2-70, HIWORD(lParam)-45, 140, 35, FALSE);
|
||||
|
||||
RECT Top = {0,0,LOWORD(lParam),60};
|
||||
InvalidateRect(hwnd, &Top, TRUE);
|
||||
RECT Bottom = {Split_Vertical, Split_Hozizontal, LOWORD(lParam), HIWORD(lParam)};
|
||||
InvalidateRect(hwnd, &Bottom, FALSE);
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -345,6 +340,7 @@ INT WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInst,
|
|||
WndClass.lpszClassName = L"Downloader";
|
||||
WndClass.lpfnWndProc = WndProc;
|
||||
WndClass.hInstance = hInstance;
|
||||
WndClass.style = CS_HREDRAW | CS_VREDRAW;
|
||||
WndClass.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_MAIN));
|
||||
WndClass.hCursor = LoadCursor(NULL, IDC_ARROW);
|
||||
|
||||
|
|
Loading…
Reference in a new issue