- Strip the Atl-F4 from the Pop Up System Menu since we do not support it.


svn path=/trunk/; revision=63315
This commit is contained in:
James Tabor 2014-05-16 18:26:00 +00:00
parent 07c315c504
commit a61decb1c0

View file

@ -253,9 +253,15 @@ AppendMenuItems(HMENU hMenu,
static VOID
CreateSysMenu(HWND hWnd)
{
MENUITEMINFOW mii;
HMENU hMenu = GetSystemMenu(hWnd, FALSE);
if (hMenu != NULL)
{
mii.cbSize = sizeof(mii);
mii.fMask = MIIM_STRING;
mii.dwTypeData = L"&Close";
SetMenuItemInfoW(hMenu, SC_CLOSE, FALSE, &mii);
AppendMenuItems(hMenu, GuiConsoleMainMenuItems);
DrawMenuBar(hWnd);
}