mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[ConSrv]
- 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:
parent
07c315c504
commit
a61decb1c0
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue