ReactOS 0.4.16-dev-109-gf4cb10f
|
#include <user32.h>
Go to the source code of this file.
Macros | |
#define | MM_SETMENUHANDLE (WM_USER + 0) |
#define | MM_GETMENUHANDLE (WM_USER + 1) |
#define | MENU_TYPE_MASK (MF_STRING | MF_BITMAP | MF_OWNERDRAW | MF_SEPARATOR) |
#define | MENU_ITEM_TYPE(flags) ((flags) & MENU_TYPE_MASK) |
#define | MNS_STYLE_MASK (MNS_NOCHECK|MNS_MODELESS|MNS_DRAGDROP|MNS_AUTODISMISS|MNS_NOTIFYBYPOS|MNS_CHECKORBMP) |
#define | MENUITEMINFO_TYPE_MASK |
#define | TYPE_MASK (MENUITEMINFO_TYPE_MASK | MF_POPUP | MF_SYSMENU) |
#define | STATE_MASK (~TYPE_MASK) |
#define | MENUITEMINFO_STATE_MASK (STATE_MASK & ~(MF_BYPOSITION | MF_MOUSESELECT)) |
#define | MII_STATE_MASK (MFS_GRAYED|MFS_CHECKED|MFS_HILITE|MFS_DEFAULT) |
#define | IS_STRING_ITEM(flags) (MF_STRING == MENU_ITEM_TYPE(flags)) |
#define | IS_MAGIC_BITMAP(id) ((id) && ((INT_PTR)(id) < 12) && ((INT_PTR)(id) >= -1)) |
#define | GET_WORD(ptr) (*(WORD *)(ptr)) |
#define | GET_DWORD(ptr) (*(DWORD *)(ptr)) |
Variables | |
const struct builtin_class_descr | POPUPMENU_builtin_class |
#define IS_STRING_ITEM | ( | flags | ) | (MF_STRING == MENU_ITEM_TYPE(flags)) |
#define MENU_TYPE_MASK (MF_STRING | MF_BITMAP | MF_OWNERDRAW | MF_SEPARATOR) |
#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 676 of file menu.c.
Definition at line 714 of file menu.c.
Referenced by ChangeMenuW(), and MENU_ParseResource().
Definition at line 1744 of file menu.c.
Definition at line 1706 of file menu.c.
Definition at line 742 of file menu.c.
Definition at line 765 of file menu.c.
Definition at line 829 of file menu.c.
Referenced by AWR_init(), create_menu_from_data(), create_menuitem_from_data(), CShellMenuCallback::CreateRecentMenu(), CDefView::CreateViewWindow3(), CDefView::InitList(), LoadMenuIndirectW(), CSendToMenu::QueryContextMenu(), CNewMenu::QueryContextMenu(), shellex_run_context_menu_default(), START_TEST(), test_AppendMenu(), test_CreateWindow(), test_getmenubarinfo(), test_GetMenuItemRect(), test_mbs_help(), test_mdi(), test_mdi_messages(), test_menu_add_string(), test_menu_cancelmode(), test_menu_flags(), test_menu_getmenuinfo(), test_menu_hilitemenuitem(), test_menu_input(), test_menu_locked_by_window(), test_menu_ownerdraw(), test_menu_search_bycommand(), test_menu_setmenuinfo(), test_messages(), Test_OneParamRoutine_MapDesktopObject(), test_SetMenu(), test_SetParent(), and test_system_menu().
Definition at line 838 of file menu.c.
Referenced by CBandSiteBase::_OnContextMenu(), _ShowContextMenu(), _ShowContextMenuR(), CMenuBand::_TrackContextMenu(), add_favs_to_menu(), CShellMenuCallback::AddOrSetMenuItem(), AdvProcDetailsDlgProc(), AppendMenuItems(), BrFolder_OnContextMenu(), BuildLeftPopupMenu(), CDesktopFolder::CallBack(), CDrivesFolder::CallBack(), CFSFolder::CallBack(), ConWndProc(), CDefView::DoColumnContextMenu(), DesktopShellView::DoDesktopContextMenu(), CDefView::Exec(), FileMenu_Create(), CDefView::FillFileMenu(), FM_InitMenuPopup(), handle_context_menu(), IFileDialogCustomize_fnAddMenu(), IFileDialogCustomize_fnEnableOpenDropDown(), CFolderItemVerbs::Init(), MENU_ParseResource(), MENUEX_ParseResource(), MONTHCAL_LButtonDown(), MONTHCAL_RButtonUp(), OleUIAddVerbMenuW(), CDeviceManager::OnCommand(), CDeviceView::OnContextMenu(), CDefView::OnContextMenu(), CDefView::OnExplorerCommand(), CInternetToolbar::OnMenuDropDown(), CISFBand::OnWinEvent(), CDefView::OpenSelectedItems(), COpenWithMenu::QueryContextMenu(), seltree_popup_menu(), SHELL_InvokePidl(), Shell_MergeMenus(), ShellExecute_ContextMenuVerb(), ShellFolderContextMenu(), SHInvokeCommand(), SHInvokeCommandOnContextMenuInternal(), ShowContextMenu(), ShowPowerSchemesPopupMenu(), START_TEST(), TaskManager_OnTabWndSelChange(), test_AppendMenu(), test_capture_4(), test_contextmenu(), test_CShellMenu_params(), test_emptypopup(), test_GetMenuItemRect(), test_mbs_help(), test_menu_cancelmode(), test_menu_circref(), test_menu_flags(), test_menu_hilitemenuitem(), test_menu_input(), test_menu_maxdepth(), test_menu_ownerdraw(), test_menu_trackagain(), test_menu_trackpopupmenu(), test_menualign(), test_OleUIAddVerbMenu(), test_subpopup_locked_by_menu(), test_TrackPopupMenu(), test_TrackPopupMenuEmpty(), CTrayWindow::TrackCtxMenu(), and wmain().
Definition at line 856 of file menu.c.
Definition at line 712 of file misc.c.
Referenced by GetMenuItemInfo_common(), InsertMenuItemA(), InsertMenuItemW(), SetMenuItemInfoA(), and SetMenuItemInfoW().
BOOL WINAPI GetMenuInfo | ( | HMENU | hmenu, |
LPMENUINFO | lpcmi | ||
) |
Definition at line 968 of file menu.c.
|
static |
Definition at line 167 of file menu.c.
Referenced by GetMenuItemInfoA(), and GetMenuItemInfoW().
Definition at line 981 of file menu.c.
Definition at line 1067 of file menu.c.
BOOL WINAPI InsertMenuA | ( | HMENU | hMenu, |
UINT | uPosition, | ||
UINT | uFlags, | ||
UINT_PTR | uIDNewItem, | ||
LPCSTR | lpNewItem | ||
) |
Definition at line 1171 of file menu.c.
Definition at line 1211 of file menu.c.
Definition at line 1254 of file menu.c.
BOOL WINAPI InsertMenuW | ( | HMENU | hMenu, |
UINT | uPosition, | ||
UINT | uFlags, | ||
UINT_PTR | uIDNewItem, | ||
LPCWSTR | lpNewItem | ||
) |
Definition at line 1292 of file menu.c.
Referenced by ChangeMenuW().
Definition at line 1334 of file menu.c.
HMENU WINAPI LoadMenuIndirectA | ( | CONST MENUTEMPLATE * | lpMenuTemplate | ) |
HMENU WINAPI LoadMenuIndirectW | ( | CONST MENUTEMPLATE * | lpMenuTemplate | ) |
Definition at line 1358 of file menu.c.
Referenced by LoadMenuIndirectA(), and LoadMenuW().
Definition at line 1399 of file menu.c.
Referenced by User32CallLoadMenuFromKernel().
Definition at line 83 of file menu.c.
FORCEINLINE PMENU MENU_GetMenu | ( | HMENU | hMenu | ) |
Definition at line 72 of file menu.c.
Referenced by MENU_FindItem(), and MENU_mnu2mnuii().
|
static |
Definition at line 521 of file menu.c.
Referenced by AppendMenuA(), AppendMenuW(), InsertMenuA(), InsertMenuW(), ModifyMenuA(), and ModifyMenuW().
|
static |
Definition at line 580 of file menu.c.
Referenced by InsertMenuItemA(), InsertMenuItemW(), SetMenuItemInfoA(), and SetMenuItemInfoW().
Definition at line 410 of file menu.c.
Referenced by LoadMenuIndirectW(), and MENU_ParseResource().
VOID MenuCleanup | ( | VOID | ) |
Definition at line 455 of file menu.c.
Referenced by LoadMenuIndirectW(), and MENUEX_ParseResource().
LRESULT WINAPI MenuWindowProcA | ( | HWND | hWnd, |
ULONG_PTR | Result, | ||
UINT | Msg, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) |
Definition at line 1666 of file menu.c.
BOOL WINAPI ModifyMenuA | ( | HMENU | hMenu, |
UINT | uPosition, | ||
UINT | uFlags, | ||
UINT_PTR | uIDNewItem, | ||
LPCSTR | lpNewItem | ||
) |
Definition at line 1415 of file menu.c.
BOOL WINAPI ModifyMenuW | ( | HMENU | hMenu, |
UINT | uPosition, | ||
UINT | uFlags, | ||
UINT_PTR | uIDNewItem, | ||
LPCWSTR | lpNewItem | ||
) |
Definition at line 1455 of file menu.c.
Definition at line 368 of file menu.c.
Referenced by MenuWindowProcA(), and RegisterClientPFN().
Definition at line 297 of file menu.c.
Referenced by MenuWindowProcW(), PopupMenuWndProcA(), and RegisterClientPFN().
BOOL WINAPI SetMenuInfo | ( | HMENU | hmenu, |
LPCMENUINFO | lpcmi | ||
) |
Definition at line 1500 of file menu.c.
BOOL WINAPI SetMenuItemBitmaps | ( | HMENU | hMenu, |
UINT | uPosition, | ||
UINT | uFlags, | ||
HBITMAP | hBitmapUnchecked, | ||
HBITMAP | hBitmapChecked | ||
) |
Definition at line 1522 of file menu.c.
Definition at line 1543 of file menu.c.
Definition at line 1591 of file menu.c.
BOOL WINAPI TrackPopupMenu | ( | HMENU | Menu, |
UINT | Flags, | ||
int | x, | ||
int | y, | ||
int | Reserved, | ||
HWND | Wnd, | ||
CONST RECT * | Rect | ||
) |
Definition at line 657 of file menu.c.
WINE_DEFAULT_DEBUG_CHANNEL | ( | menu | ) |
const struct builtin_class_descr POPUPMENU_builtin_class |