Alexander Nicolaysen Sørnes : shell32: Handle backspace key in shellview.
Alexandre Julliard
julliard at winehq.org
Thu Dec 6 08:26:47 CST 2007
Module: wine
Branch: master
Commit: 84e945f180b56a3d4b059570690f5631e639d1cc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=84e945f180b56a3d4b059570690f5631e639d1cc
Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date: Thu Dec 6 10:35:08 2007 +0100
shell32: Handle backspace key in shellview.
---
dlls/shell32/shlview.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/shlview.c b/dlls/shell32/shlview.c
index 390fdc9..6e6aba4 100644
--- a/dlls/shell32/shlview.c
+++ b/dlls/shell32/shlview.c
@@ -1557,6 +1557,15 @@ static LRESULT ShellView_OnNotify(IShellViewImpl * This, UINT CtlID, LPNMHDR lpn
IShellView_Refresh((IShellView*)This);
}
+ else if(plvKeyDown->wVKey == VK_BACK)
+ {
+ LPSHELLBROWSER lpSb;
+ if((lpSb = (LPSHELLBROWSER)SendMessageW(This->hWndParent, CWM_GETISHELLBROWSER, 0, 0)))
+ {
+ IShellBrowser_BrowseObject(lpSb, NULL, SBSP_PARENT);
+ }
+ }
+
else
FIXME("LVN_KEYDOWN key=0x%08x\n",plvKeyDown->wVKey);
}
More information about the wine-cvs
mailing list