mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 22:00:55 +00:00
[regedit]
- Reduce flicker svn path=/trunk/; revision=51679
This commit is contained in:
parent
326accb790
commit
6a9b0ac003
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue