Handle context menu->refresh, and F5 to initiate a refresh of the file
dialog.
This commit is contained in:
parent
8f8ec2adcc
commit
602f0c10c7
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue