Author: gadamopoulos
Date: Wed May 11 21:34:47 2011
New Revision: 51679

URL: http://svn.reactos.org/svn/reactos?rev=51679&view=rev
Log:
[regedit]
- Reduce flicker

Modified:
    trunk/reactos/base/applications/regedit/main.c

Modified: trunk/reactos/base/applications/regedit/main.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/regedit/main.c?rev=51679&r1=51678&r2=51679&view=diff
==============================================================================
--- trunk/reactos/base/applications/regedit/main.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/regedit/main.c [iso-8859-1] Wed May 11 
21:34:47 2011
@@ -68,7 +68,6 @@
 
     ZeroMemory(&wcFrame, sizeof(WNDCLASSEX));
     wcFrame.cbSize = sizeof(WNDCLASSEX);
-    wcFrame.style = CS_HREDRAW | CS_VREDRAW;
     wcFrame.lpfnWndProc = FrameWndProc;
     wcFrame.hInstance = hInstance;
     wcFrame.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_REGEDIT));
@@ -82,7 +81,6 @@
 
     ZeroMemory(&wcChild, sizeof(WNDCLASSEX));
     wcChild.cbSize = sizeof(WNDCLASSEX);
-    wcChild.style = CS_HREDRAW | CS_VREDRAW;
     wcChild.lpfnWndProc = ChildWndProc;
     wcChild.cbWndExtra = sizeof(HANDLE);
     wcChild.hInstance = hInstance;
@@ -135,7 +133,7 @@
     }
 
     /* 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);
     if (hStatusBar)
     {


Reply via email to