From dd93b71c71d5e6377dfbd37bb8a3d2ee35f5cccb Mon Sep 17 00:00:00 2001 From: Francois Boisvert Date: Fri, 10 Sep 1999 13:56:31 +0000 Subject: [PATCH] Tabbing in the listview of the shellview. --- dlls/shell32/shlview.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dlls/shell32/shlview.c b/dlls/shell32/shlview.c index c2eef67ad19..d8379f4d500 100644 --- a/dlls/shell32/shlview.c +++ b/dlls/shell32/shlview.c @@ -787,6 +787,9 @@ static LRESULT ShellView_OnSetFocus(IShellViewImpl * This) IShellBrowser_OnViewWindowActive(This->pShellBrowser,(IShellView*) This); ShellView_OnActivate(This, SVUIA_ACTIVATE_FOCUS); + /* Set the focus to the listview */ + SetFocus(This->hWndList); + /* Notify the ICommDlgBrowser interface */ OnStateChange(This,CDBOSC_SETFOCUS); @@ -1036,6 +1039,8 @@ static LRESULT CALLBACK ShellView_WndProc(HWND hWnd, UINT uMessage, WPARAM wPara case WM_SHOWWINDOW: UpdateWindow(pThis->hWndList); break; + case WM_GETDLGCODE: return SendMessageA(pThis->hWndList,uMessage,0,0); + case WM_DESTROY: pRevokeDragDrop(pThis->hWnd); break; } @@ -1293,7 +1298,7 @@ static HRESULT WINAPI IShellView_fnCreateViewWindow( *phWnd = CreateWindowExA(0, SV_CLASS_NAME, NULL, - WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS, + WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_TABSTOP, prcView->left, prcView->top, prcView->right - prcView->left,