Commit 48440d24 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

explorer: Handle the back and forward buttons of a 5-button mouse.

parent 26e3d2ec
......@@ -744,6 +744,17 @@ static LRESULT CALLBACK explorer_wnd_proc(HWND hwnd, UINT uMsg, WPARAM wParam, L
}
}
break;
case WM_APPCOMMAND:
switch(GET_APPCOMMAND_LPARAM(lParam))
{
case APPCOMMAND_BROWSER_BACKWARD:
IExplorerBrowser_BrowseToObject(browser,NULL,SBSP_NAVIGATEBACK);
break;
case APPCOMMAND_BROWSER_FORWARD:
IExplorerBrowser_BrowseToObject(browser,NULL,SBSP_NAVIGATEFORWARD);
break;
}
break;
case WM_SIZE:
update_window_size(info,HIWORD(lParam),LOWORD(lParam));
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment