regedit: Initialise nFocusPanel.

This commit is contained in:
Robert Shearman 2006-01-05 12:18:43 +01:00 committed by Alexandre Julliard
parent 1191249fc9
commit ac37f4cc64

View file

@ -195,6 +195,7 @@ LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
pChildWnd->hWnd = hWnd;
pChildWnd->hTreeWnd = CreateTreeView(hWnd, pChildWnd->szPath, TREE_WINDOW);
pChildWnd->hListWnd = CreateListView(hWnd, LIST_WINDOW/*, pChildWnd->szPath*/);
pChildWnd->nFocusPanel = 1;
SetFocus(pChildWnd->hTreeWnd);
break;
case WM_COMMAND: