diff --git a/programs/regedit/childwnd.c b/programs/regedit/childwnd.c index 550c6530ce9..f6f00426494 100644 --- a/programs/regedit/childwnd.c +++ b/programs/regedit/childwnd.c @@ -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: