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
1 changed files with 1 additions and 0 deletions

View File

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