ReactOS 0.4.15-dev-6068-g8061a6f
|
#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 TYPE_MASK (MENUITEMINFO_TYPE_MASK | MF_POPUP | MF_SYSMENU) |
Definition at line 1350 of file menu.c.
Referenced by MENU_DoNextMenu(), and MENU_FindItemByKey().
DBG_DEFAULT_CHANNEL | ( | UserMenu | ) |
Definition at line 260 of file menu.c.
Referenced by MENU_DoNextMenu(), MENU_PtMenu(), MENU_TrackKbdMenuBar(), and MENU_TrackMouseMenuBar().
Definition at line 1261 of file menu.c.
Referenced by NtUserCheckMenuItem().
Definition at line 824 of file menu.c.
Referenced by MENU_GetSystemMenu().
Definition at line 773 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 731 of file menu.c.
Referenced by IntSetMenuItemInfo(), and UserCreateMenu().
Definition at line 271 of file menu.c.
Referenced by IntDestroyMenuObject().
Definition at line 319 of file menu.c.
Referenced by co_UserFreeWindow(), IntDestroyMenu(), IntGetSystemMenu(), IntRemoveMenuItem(), IntSetMenuItemInfo(), IntSetSystemMenu(), MENU_GetSystemMenu(), NtUserDestroyMenu(), UserDestroyMenu(), and UserDestroyMenuObject().
Definition at line 2687 of file menu.c.
Referenced by MENU_DrawMenuBar(), and NtUserDrawMenuBarTemp().
Definition at line 1219 of file menu.c.
Referenced by MENU_InitSysMenuPopup(), and NtUserEnableMenuItem().
Definition at line 5015 of file menu.c.
Referenced by co_IntTranslateAccelerator().
Definition at line 1802 of file menu.c.
Referenced by MENU_CalcItemSize().
Definition at line 250 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 1317 of file menu.c.
Referenced by GetMenuDefaultItem(), and IntGetMenuDefaultItem().
BOOL FASTCALL IntGetMenuInfo | ( | PMENU | Menu, |
PROSMENUINFO | lpmi | ||
) |
Definition at line 881 of file menu.c.
Referenced by UserMenuInfo().
BOOL FASTCALL IntGetMenuItemInfo | ( | PMENU | Menu, |
PITEM | MenuItem, | ||
PROSMENUITEMINFO | lpmii | ||
) |
Definition at line 964 of file menu.c.
Referenced by IntMenuItemInfo(), and UserMenuItemInfo().
Definition at line 5230 of file menu.c.
Referenced by NtUserGetMenuBarInfo().
Definition at line 194 of file menu.c.
Referenced by IntSetMenu(), NtUserCallTwoParam(), and NtUserSetSystemMenu().
Definition at line 4975 of file menu.c.
Referenced by co_IntTranslateAccelerator(), NC_DoButton(), NC_HandleNCLButtonDblClk(), and UserDrawCaptionButton().
Definition at line 4995 of file menu.c.
Referenced by IntGetSystemMenu().
Definition at line 5383 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 4804 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 693 of file menu.c.
Referenced by MENU_GetSystemMenu(), and UserInsertMenuItem().
Definition at line 1520 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 5076 of file menu.c.
Referenced by MENU_GetSystemMenu().
Definition at line 598 of file menu.c.
Referenced by IntInsertMenuItem(), MENU_GetSystemMenu(), NtUserDeleteMenu(), and NtUserRemoveMenu().
Definition at line 5459 of file menu.c.
Referenced by IntCreateWindow(), and NtUserSetMenu().
Definition at line 874 of file menu.c.
Referenced by NtUserSetMenuContextHelpId().
BOOL FASTCALL IntSetMenuInfo | ( | PMENU | Menu, |
PROSMENUINFO | lpmi | ||
) |
Definition at line 916 of file menu.c.
Referenced by IntSetMenuInfo(), and UserMenuInfo().
BOOL FASTCALL IntSetMenuItemInfo | ( | PMENU | MenuObject, |
PITEM | MenuItem, | ||
PROSMENUITEMINFO | lpmii, | ||
PUNICODE_STRING | lpstr | ||
) |
Definition at line 1035 of file menu.c.
Referenced by IntInsertMenuItem(), IntMenuItemInfo(), and UserMenuItemInfo().
Definition at line 5426 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 4561 of file menu.c.
Referenced by IntDefWindowProc(), and NtUserTrackPopupMenuEx().
Definition at line 1464 of file menu.c.
Referenced by MENU_DrawMenuItem(), MENU_FindItemByCoords(), MENU_ShowSubPopup(), and NtUserMenuItemFromPoint().
Definition at line 3552 of file menu.c.
Referenced by MENU_TrackMenu().
Definition at line 3595 of file menu.c.
Referenced by MENU_TrackMenu().
|
static |
Definition at line 1827 of file menu.c.
Referenced by MENU_MenuBarCalcSize(), and MENU_PopupMenuCalcSize().
Definition at line 406 of file menu.c.
Referenced by IntSetMenuItemInfo(), and MENU_depth().
Definition at line 3739 of file menu.c.
Referenced by MENU_KeyLeft(), and MENU_KeyRight().
|
static |
Definition at line 1655 of file menu.c.
Referenced by MENU_DrawMenuItem().
Definition at line 2744 of file menu.c.
Referenced by NC_DoNCPaint(), NC_HandleNCCalcSize(), NtUserCalcMenuBar(), NtUserPaintMenuBar(), and UserDrawCaptionBar().
|
static |
Definition at line 2206 of file menu.c.
Referenced by IntDrawMenuBarTemp(), MENU_DrawPopupMenu(), MENU_SelectItem(), and MENU_ShowSubPopup().
|
static |
Definition at line 1400 of file menu.c.
Referenced by MENU_DrawBitmapItem().
Definition at line 2601 of file menu.c.
Referenced by PopupMenuWndProc().
Definition at line 2178 of file menu.c.
Referenced by MENU_DrawPopupMenu(), and MENU_EnsureMenuItemVisible().
Definition at line 2664 of file menu.c.
Referenced by IntDefWindowProc().
Definition at line 3099 of file menu.c.