Set the default menu item of the window menu
This commit is contained in:
parent
dd5b80e8ab
commit
9090502fda
|
@ -849,6 +849,7 @@ static BOOL MDI_AugmentFrameMenu( MDICLIENTINFO* ci, WND *frame,
|
|||
EnableMenuItem(hSysPopup, SC_SIZE, MF_BYCOMMAND | MF_GRAYED);
|
||||
EnableMenuItem(hSysPopup, SC_MOVE, MF_BYCOMMAND | MF_GRAYED);
|
||||
EnableMenuItem(hSysPopup, SC_MAXIMIZE, MF_BYCOMMAND | MF_GRAYED);
|
||||
SetMenuDefaultItem(hSysPopup, SC_CLOSE, FALSE);
|
||||
|
||||
/* redraw menu */
|
||||
DrawMenuBar(frame->hwndSelf);
|
||||
|
|
Loading…
Reference in New Issue