Commit d354316c authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

shdocvw: Add Close menu item.

parent 3bea7f94
...@@ -49,6 +49,7 @@ IDR_BROWSE_MAIN_MENU MENU ...@@ -49,6 +49,7 @@ IDR_BROWSE_MAIN_MENU MENU
MENUITEM "Print previe&w...", ID_BROWSE_PRINT_PREVIEW MENUITEM "Print previe&w...", ID_BROWSE_PRINT_PREVIEW
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "&Properties...", ID_BROWSE_PROPERTIES MENUITEM "&Properties...", ID_BROWSE_PROPERTIES
MENUITEM "&Close", ID_BROWSE_QUIT
} }
POPUP "&View" POPUP "&View"
{ {
......
...@@ -587,6 +587,10 @@ static LRESULT iewnd_OnCommand(InternetExplorer *This, HWND hwnd, UINT msg, WPAR ...@@ -587,6 +587,10 @@ static LRESULT iewnd_OnCommand(InternetExplorer *This, HWND hwnd, UINT msg, WPAR
ie_dialog_about(hwnd); ie_dialog_about(hwnd);
break; break;
case ID_BROWSE_QUIT:
iewnd_OnDestroy(This);
break;
default: default:
if(LOWORD(wparam) >= ID_BROWSE_GOTOFAV_FIRST && LOWORD(wparam) <= ID_BROWSE_GOTOFAV_MAX) if(LOWORD(wparam) >= ID_BROWSE_GOTOFAV_FIRST && LOWORD(wparam) <= ID_BROWSE_GOTOFAV_MAX)
{ {
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#define ID_BROWSE_PRINT 260 #define ID_BROWSE_PRINT 260
#define ID_BROWSE_PRINT_PREVIEW 277 #define ID_BROWSE_PRINT_PREVIEW 277
#define ID_BROWSE_PROPERTIES 262 #define ID_BROWSE_PROPERTIES 262
#define ID_BROWSE_QUIT 278
#define ID_BROWSE_ABOUT 336 #define ID_BROWSE_ABOUT 336
#define ID_BROWSE_ADDFAV 1200 #define ID_BROWSE_ADDFAV 1200
......
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