shdocvw: Add Close menu item.

This commit is contained in:
Juan Lang 2010-08-20 12:38:29 -07:00 committed by Alexandre Julliard
parent 3bea7f943e
commit d354316c43
3 changed files with 6 additions and 0 deletions

View File

@ -49,6 +49,7 @@ IDR_BROWSE_MAIN_MENU MENU
MENUITEM "Print previe&w...", ID_BROWSE_PRINT_PREVIEW
MENUITEM SEPARATOR
MENUITEM "&Properties...", ID_BROWSE_PROPERTIES
MENUITEM "&Close", ID_BROWSE_QUIT
}
POPUP "&View"
{

View File

@ -587,6 +587,10 @@ static LRESULT iewnd_OnCommand(InternetExplorer *This, HWND hwnd, UINT msg, WPAR
ie_dialog_about(hwnd);
break;
case ID_BROWSE_QUIT:
iewnd_OnDestroy(This);
break;
default:
if(LOWORD(wparam) >= ID_BROWSE_GOTOFAV_FIRST && LOWORD(wparam) <= ID_BROWSE_GOTOFAV_MAX)
{

View File

@ -38,6 +38,7 @@
#define ID_BROWSE_PRINT 260
#define ID_BROWSE_PRINT_PREVIEW 277
#define ID_BROWSE_PROPERTIES 262
#define ID_BROWSE_QUIT 278
#define ID_BROWSE_ABOUT 336
#define ID_BROWSE_ADDFAV 1200