diff --git a/dlls/shell32/shlview.c b/dlls/shell32/shlview.c index e663cc444a1..a024933797f 100644 --- a/dlls/shell32/shlview.c +++ b/dlls/shell32/shlview.c @@ -1506,6 +1506,13 @@ static LRESULT ShellView_OnNotify(IShellViewImpl * This, UINT CtlID, LPNMHDR lpn /* free pidl array memory */ HeapFree(GetProcessHeap(), 0, pItems); } + + /* Initiate a refresh */ + else if(plvKeyDown->wVKey == VK_F5) + { + IShellView_Refresh((IShellView*)This); + } + else FIXME("LVN_KEYDOWN key=0x%08x\n",plvKeyDown->wVKey); } diff --git a/dlls/shell32/shv_bg_cmenu.c b/dlls/shell32/shv_bg_cmenu.c index 885b5604dd4..00518f6f460 100644 --- a/dlls/shell32/shv_bg_cmenu.c +++ b/dlls/shell32/shv_bg_cmenu.c @@ -361,6 +361,10 @@ static HRESULT WINAPI ISVBgCm_fnInvokeCommand( { switch(LOWORD(lpcmi->lpVerb)) { + case FCIDM_SHVIEW_REFRESH: + if (lpSV) IShellView_Refresh(lpSV); + break; + case FCIDM_SHVIEW_NEWFOLDER: DoNewFolder(iface, lpSV); break;