Module: wine Branch: master Commit: 84e945f180b56a3d4b059570690f5631e639d1cc URL: http://source.winehq.org/git/wine.git/?a=commit;h=84e945f180b56a3d4b05957069...
Author: Alexander Nicolaysen Sørnes alex@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); }