shdocvw: Add Close menu item.
This commit is contained in:
parent
3bea7f943e
commit
d354316c43
|
@ -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"
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue