[regedit]

- Reduce flicker

svn path=/trunk/; revision=51679
This commit is contained in:
Giannis Adamopoulos 2011-05-11 21:34:47 +00:00
parent 326accb790
commit 6a9b0ac003

View file

@ -68,7 +68,6 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
ZeroMemory(&wcFrame, sizeof(WNDCLASSEX)); ZeroMemory(&wcFrame, sizeof(WNDCLASSEX));
wcFrame.cbSize = sizeof(WNDCLASSEX); wcFrame.cbSize = sizeof(WNDCLASSEX);
wcFrame.style = CS_HREDRAW | CS_VREDRAW;
wcFrame.lpfnWndProc = FrameWndProc; wcFrame.lpfnWndProc = FrameWndProc;
wcFrame.hInstance = hInstance; wcFrame.hInstance = hInstance;
wcFrame.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_REGEDIT)); wcFrame.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_REGEDIT));
@ -82,7 +81,6 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
ZeroMemory(&wcChild, sizeof(WNDCLASSEX)); ZeroMemory(&wcChild, sizeof(WNDCLASSEX));
wcChild.cbSize = sizeof(WNDCLASSEX); wcChild.cbSize = sizeof(WNDCLASSEX);
wcChild.style = CS_HREDRAW | CS_VREDRAW;
wcChild.lpfnWndProc = ChildWndProc; wcChild.lpfnWndProc = ChildWndProc;
wcChild.cbWndExtra = sizeof(HANDLE); wcChild.cbWndExtra = sizeof(HANDLE);
wcChild.hInstance = hInstance; wcChild.hInstance = hInstance;
@ -135,7 +133,7 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
} }
/* Create the status bar */ /* Create the status bar */
hStatusBar = CreateStatusWindow(WS_VISIBLE|WS_CHILD|WS_CLIPSIBLINGS|SBT_NOBORDERS, hStatusBar = CreateStatusWindow(WS_VISIBLE|WS_CHILD|WS_CLIPSIBLINGS|WS_CLIPCHILDREN|SBT_NOBORDERS,
_T(""), hFrameWnd, STATUS_WINDOW); _T(""), hFrameWnd, STATUS_WINDOW);
if (hStatusBar) if (hStatusBar)
{ {