ReactOS 0.4.16-dev-106-g10b08aa
|
#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_STRING_ITEM | ( | flags | ) | (MF_STRING == MENU_ITEM_TYPE(flags)) |
#define IS_SYSTEM_MENU | ( | MenuInfo | ) | (!!((MenuInfo)->fFlags & MNF_SYSMENU)) |
#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 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 5031 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 | ||
) |
Definition at line 879 of file menu.c.
Referenced by UserMenuInfo().
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 5246 of file menu.c.
Referenced by NtUserGetMenuBarInfo().
Definition at line 192 of file menu.c.
Referenced by IntSetMenu(), NtUserCallTwoParam(), and NtUserSetSystemMenu().
Definition at line 4991 of file menu.c.
Referenced by co_IntTranslateAccelerator(), NC_DoButton(), NC_HandleNCLButtonDblClk(), and UserDrawCaptionButton().
Definition at line 5011 of file menu.c.
Referenced by IntGetSystemMenu().
Definition at line 5399 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 4820 of file menu.c.
Referenced by NtUserGetTitleBarInfo().
BOOL FASTCALL IntHiliteMenuItem | ( | PWND | WindowObject, |
PMENU | MenuObject, | ||
UINT | uItemHilite, | ||
UINT | uHilite | ||
) |
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().
Definition at line 1518 of file menu.c.
Referenced by IntDefWindowProc().
BOOL FASTCALL IntMenuItemInfo | ( | PMENU | Menu, |
UINT | Item, | ||
BOOL | ByPosition, | ||
PROSMENUITEMINFO | ItemInfo, | ||
BOOL | SetOrGet, | ||
PUNICODE_STRING | lpstr | ||
) |
Definition at line 5092 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 5475 of file menu.c.
Referenced by IntCreateWindow(), and NtUserSetMenu().
Definition at line 872 of file menu.c.
Referenced by NtUserSetMenuContextHelpId().
BOOL FASTCALL IntSetMenuInfo | ( | PMENU | Menu, |
PROSMENUINFO | lpmi | ||
) |
Definition at line 914 of file menu.c.
Referenced by IntSetMenuInfo(), and 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 5442 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 4577 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().
Definition at line 3558 of file menu.c.
Referenced by MENU_TrackMenu().
Definition at line 3603 of file menu.c.
Referenced by MENU_TrackMenu().
|
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(), and MENU_depth().
Definition at line 3735 of file menu.c.
Referenced by MENU_KeyLeft(), and MENU_KeyRight().
|
static |
Definition at line 1653 of file menu.c.
Referenced by MENU_DrawMenuItem().
Definition at line 2742 of file menu.c.
Referenced by NC_DoNCPaint(), NC_HandleNCCalcSize(), NtUserCalcMenuBar(), NtUserPaintMenuBar(), and UserDrawCaptionBar().
|
static |
Definition at line 2204 of file menu.c.
Referenced by IntDrawMenuBarTemp(), MENU_DrawPopupMenu(), MENU_SelectItem(), and MENU_ShowSubPopup().
|
static |
Definition at line 1398 of file menu.c.
Referenced by MENU_DrawBitmapItem().
Definition at line 2599 of file menu.c.
Referenced by PopupMenuWndProc().
Definition at line 2176 of file menu.c.
Referenced by MENU_DrawPopupMenu(), and MENU_EnsureMenuItemVisible().
Definition at line 2662 of file menu.c.
Referenced by IntDefWindowProc().
Definition at line 3102 of file menu.c.