mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
shdocvw: Make the Home button in IE work.
This commit is contained in:
parent
5d7c460962
commit
871a65d230
@ -372,7 +372,7 @@ static void create_rebar(HWND hwnd)
|
||||
add_tb_button(hwndToolbar, I_IMAGENONE, 0, IDS_TB_FORWARD);
|
||||
add_tb_button(hwndToolbar, I_IMAGENONE, 0, IDS_TB_STOP);
|
||||
add_tb_button(hwndToolbar, I_IMAGENONE, 0, IDS_TB_REFRESH);
|
||||
add_tb_button(hwndToolbar, I_IMAGENONE, 0, IDS_TB_HOME);
|
||||
add_tb_button(hwndToolbar, I_IMAGENONE, ID_BROWSE_HOME, IDS_TB_HOME);
|
||||
add_tb_separator(hwndToolbar);
|
||||
add_tb_button(hwndToolbar, I_IMAGENONE, ID_BROWSE_PRINT, IDS_TB_PRINT);
|
||||
SendMessageW(hwndToolbar, TB_SETBUTTONSIZE, 0, MAKELPARAM(50,40));
|
||||
@ -491,6 +491,10 @@ static LRESULT CALLBACK iewnd_OnCommand(InternetExplorer *This, HWND hwnd, UINT
|
||||
}
|
||||
break;
|
||||
|
||||
case ID_BROWSE_HOME:
|
||||
IWebBrowser2_GoHome(WEBBROWSER2(This));
|
||||
break;
|
||||
|
||||
case ID_BROWSE_ABOUT:
|
||||
ie_dialog_about(hwnd);
|
||||
break;
|
||||
|
@ -40,6 +40,7 @@
|
||||
#define ID_BROWSE_ABOUT 336
|
||||
|
||||
#define ID_BROWSE_ADDFAV 1200
|
||||
#define ID_BROWSE_HOME 1201
|
||||
|
||||
#define ID_BROWSE_GOTOFAV_FIRST 2000
|
||||
#define ID_BROWSE_GOTOFAV_MAX 65000
|
||||
|
Loading…
Reference in New Issue
Block a user