ReactOS
0.4.15-dev-4927-gfe8f806
|
#include <win32k.h>
Go to the source code of this file.
Classes | |
struct | MTRACKER |
Variables | |
HFONT | ghMenuFont = NULL |
HFONT | ghMenuFontBold = NULL |
static SIZE | MenuCharSize |
static HWND | top_popup = NULL |
static HMENU | top_popup_hmenu = NULL |
BOOL | fInsideMenuLoop = FALSE |
BOOL | fInEndMenu = FALSE |
#define FreeMenuText | ( | Menu, | |
MenuItem | |||
) |
#define IS_BITMAP_ITEM | ( | flags | ) | (MF_BITMAP == MENU_ITEM_TYPE(flags)) |
#define IS_STRING_ITEM | ( | flags | ) | (MF_STRING == MENU_ITEM_TYPE(flags)) |
#define MENUITEMINFO_STATE_MASK (STATE_MASK & ~(MF_BYPOSITION | MF_MOUSESELECT)) |
#define MENUITEMINFO_TYPE_MASK |
#define MII_STATE_MASK (MFS_GRAYED|MFS_CHECKED|MFS_HILITE|MFS_DEFAULT) |
#define MNS_STYLE_MASK (MNS_NOCHECK|MNS_MODELESS|MNS_DRAGDROP|MNS_AUTODISMISS|MNS_NOTIFYBYPOS|MNS_CHECKORBMP) |
#define TPM_BUTTONDOWN 0x40000000 /* menu was clicked before tracking */ |
#define TYPE_MASK (MENUITEMINFO_TYPE_MASK | MF_POPUP | MF_SYSMENU) |
Definition at line 1348 of file menu.c.
Referenced by MENU_DoNextMenu(), and MENU_FindItemByKey().
DBG_DEFAULT_CHANNEL | ( | UserMenu | ) |
Definition at line 258 of file menu.c.
Referenced by MENU_DoNextMenu(), MENU_PtMenu(), MENU_TrackKbdMenuBar(), and MENU_TrackMouseMenuBar().
Definition at line 1259 of file menu.c.
Referenced by NtUserCheckMenuItem().
Definition at line 822 of file menu.c.
Referenced by MENU_GetSystemMenu().
Definition at line 771 of file menu.c.
Referenced by IntCloneMenu().
PMENU FASTCALL IntCreateMenu | ( | _Out_ PHANDLE | Handle, |
_In_ BOOL | IsMenuBar, | ||
_In_ PDESKTOP | Desktop, | ||
_In_ PPROCESSINFO | ppi | ||
) |
Definition at line 729 of file menu.c.
Referenced by IntSetMenuItemInfo(), and UserCreateMenu().
Definition at line 269 of file menu.c.
Referenced by IntDestroyMenuObject().
Definition at line 317 of file menu.c.
Referenced by co_UserFreeWindow(), IntDestroyMenu(), IntGetSystemMenu(), IntRemoveMenuItem(), IntSetMenuItemInfo(), IntSetSystemMenu(), MENU_GetSystemMenu(), NtUserDestroyMenu(), UserDestroyMenu(), and UserDestroyMenuObject().
Definition at line 2685 of file menu.c.
Referenced by MENU_DrawMenuBar(), and NtUserDrawMenuBarTemp().
Definition at line 1217 of file menu.c.
Referenced by MENU_InitSysMenuPopup(), and NtUserEnableMenuItem().
Definition at line 5013 of file menu.c.
Referenced by co_IntTranslateAccelerator().
Definition at line 1800 of file menu.c.
Referenced by MENU_CalcItemSize().
Definition at line 248 of file menu.c.
Referenced by MENU_ButtonUp(), MENU_DoNextMenu(), MENU_PtMenu(), MENU_TrackKbdMenuBar(), and MENU_TrackMouseMenuBar().
UINT FASTCALL IntGetMenuDefaultItem | ( | PMENU | MenuObject, |
UINT | fByPos, | ||
UINT | gmdiFlags, | ||
DWORD * | gismc | ||
) |
Definition at line 1315 of file menu.c.
Referenced by GetMenuDefaultItem(), and IntGetMenuDefaultItem().
BOOL FASTCALL IntGetMenuInfo | ( | PMENU | Menu, |
PROSMENUINFO | lpmi | ||
) |
BOOL FASTCALL IntGetMenuItemInfo | ( | PMENU | Menu, |
PITEM | MenuItem, | ||
PROSMENUITEMINFO | lpmii | ||
) |
Definition at line 962 of file menu.c.
Referenced by IntMenuItemInfo(), and UserMenuItemInfo().
Definition at line 5228 of file menu.c.
Referenced by NtUserGetMenuBarInfo().
Definition at line 192 of file menu.c.
Referenced by IntSetMenu(), NtUserCallTwoParam(), and NtUserSetSystemMenu().
Definition at line 4973 of file menu.c.
Referenced by co_IntTranslateAccelerator(), NC_DoButton(), NC_HandleNCLButtonDblClk(), and UserDrawCaptionButton().
Definition at line 4993 of file menu.c.
Referenced by IntGetSystemMenu().
Definition at line 5381 of file menu.c.
Referenced by IntDefWindowProc(), MENU_TrackMouseMenuBar(), NC_DoButton(), NC_HandleNCLButtonDblClk(), NC_HandleNCRButtonDown(), NtUserGetMenuBarInfo(), NtUserGetSystemMenu(), and UserDrawCaptionButton().
BOOLEAN APIENTRY intGetTitleBarInfo | ( | PWND | pWindowObject, |
PTITLEBARINFO | bti | ||
) |
Definition at line 4802 of file menu.c.
Referenced by NtUserGetTitleBarInfo().
BOOL FASTCALL IntHiliteMenuItem | ( | PWND | WindowObject, |
PMENU | MenuObject, | ||
UINT | uItemHilite, | ||
UINT | uHilite | ||
) |
Definition at line 4776 of file menu.c.
Referenced by NtUserHiliteMenuItem().
BOOL FASTCALL IntInsertMenuItem | ( | _In_ PMENU | MenuObject, |
UINT | uItem, | ||
BOOL | fByPosition, | ||
PROSMENUITEMINFO | ItemInfo, | ||
PUNICODE_STRING | lpstr | ||
) |
Definition at line 691 of file menu.c.
Referenced by MENU_GetSystemMenu(), and UserInsertMenuItem().
BOOL FASTCALL IntMenuItemInfo | ( | PMENU | Menu, |
UINT | Item, | ||
BOOL | ByPosition, | ||
PROSMENUITEMINFO | ItemInfo, | ||
BOOL | SetOrGet, | ||
PUNICODE_STRING | lpstr | ||
) |
Definition at line 5074 of file menu.c.
Referenced by MENU_GetSystemMenu().
Definition at line 596 of file menu.c.
Referenced by IntInsertMenuItem(), MENU_GetSystemMenu(), NtUserDeleteMenu(), and NtUserRemoveMenu().
Definition at line 5457 of file menu.c.
Referenced by IntCreateWindow(), and NtUserSetMenu().
BOOL FASTCALL IntSetMenuInfo | ( | PMENU | Menu, |
PROSMENUINFO | lpmi | ||
) |
Definition at line 914 of file menu.c.
Referenced by UserMenuInfo().
BOOL FASTCALL IntSetMenuItemInfo | ( | PMENU | MenuObject, |
PITEM | MenuItem, | ||
PROSMENUITEMINFO | lpmii, | ||
PUNICODE_STRING | lpstr | ||
) |
Definition at line 1033 of file menu.c.
Referenced by IntInsertMenuItem(), IntMenuItemInfo(), and UserMenuItemInfo().
Definition at line 5424 of file menu.c.
Referenced by NtUserSetSystemMenu().
BOOL WINAPI IntTrackPopupMenuEx | ( | PMENU | menu, |
UINT | wFlags, | ||
int | x, | ||
int | y, | ||
PWND | pWnd, | ||
LPTPMPARAMS | lpTpm | ||
) |
Definition at line 4559 of file menu.c.
Referenced by IntDefWindowProc(), and NtUserTrackPopupMenuEx().
Definition at line 1462 of file menu.c.
Referenced by MENU_DrawMenuItem(), MENU_FindItemByCoords(), MENU_ShowSubPopup(), and NtUserMenuItemFromPoint().
|
static |
Definition at line 1825 of file menu.c.
Referenced by MENU_MenuBarCalcSize(), and MENU_PopupMenuCalcSize().
Definition at line 404 of file menu.c.
Referenced by IntSetMenuItemInfo().
Definition at line 3737 of file menu.c.
Referenced by MENU_KeyLeft(), and MENU_KeyRight().