Author: mbosma
Date: Mon Jan 1 15:59:11 2007
New Revision: 25260
URL:
http://svn.reactos.org/svn/reactos?rev=25260&view=rev
Log:
Remove flickering reducing trick, because it does not work under windows, and the problem
does not exist under reactos anyway.
Modified:
trunk/reactos/base/applications/downloader/main.c
Modified: trunk/reactos/base/applications/downloader/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/download…
==============================================================================
--- trunk/reactos/base/applications/downloader/main.c (original)
+++ trunk/reactos/base/applications/downloader/main.c Mon Jan 1 15:59:11 2007
@@ -305,11 +305,6 @@
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 @@
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);