ReactOS
0.4.15-dev-5618-g8866b9d
|
#include <user32.h>
Go to the source code of this file.
Variables | |
const struct builtin_class_descr | POPUPMENU_builtin_class |
#define IS_BITMAP_ITEM | ( | flags | ) | (MF_BITMAP == MENU_ITEM_TYPE(flags)) |
#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 684 of file menu.c.
Referenced by ChangeMenuA(), create_menu_from_data(), menu_fill_in_init(), test_AppendMenu(), test_getmenubarinfo(), test_GetMenuItemRect(), test_menu_cancelmode(), test_menu_circref(), test_menu_flags(), test_menu_hilitemenuitem(), test_menu_input(), test_menu_maxdepth(), test_menu_ownerdraw(), test_menu_resource_layout(), test_menu_search_bycommand(), test_menu_trackagain(), and test_menu_trackpopupmenu().
Definition at line 722 of file menu.c.
Referenced by ChangeMenuW(), and MENU_ParseResource().
Definition at line 1752 of file menu.c.
Definition at line 1714 of file menu.c.
Definition at line 750 of file menu.c.
Referenced by test_system_menu().
Definition at line 773 of file menu.c.
Referenced by test_CheckMenuRadioItem().
Definition at line 837 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 846 of file menu.c.
Referenced by CBandSiteBase::_OnContextMenu(), _ShowContextMenu(), _ShowContextMenuR(), CMenuBand::_TrackContextMenu(), add_favs_to_menu(), AppendMenuItems(), BuildLeftPopupMenu(), CDrivesFolder::CallBack(), CFSFolder::CallBack(), CDesktopFolder::CallBack(), ConWndProc(), DesktopShellView::DoDesktopContextMenu(), CDefView::Exec(), FileMenu_Create(), CDefView::FillFileMenu(), FM_InitMenuPopup(), handle_context_menu(), IFileDialogCustomize_fnAddMenu(), IFileDialogCustomize_fnEnableOpenDropDown(), CFolderItemVerbs::Init(), CShellMenuCallback::InsertRecentItem(), MENU_ParseResource(), MENUEX_ParseResource(), MONTHCAL_LButtonDown(), MONTHCAL_RButtonUp(), msi_seltree_popup_menu(), OleUIAddVerbMenuW(), CDeviceManager::OnCommand(), CDeviceView::OnContextMenu(), CExplorerBand::OnContextMenu(), CDefView::OnContextMenu(), CDefView::OnExplorerCommand(), CInternetToolbar::OnMenuDropDown(), CISFBand::OnWinEvent(), CDefView::OpenSelectedItems(), COpenWithMenu::QueryContextMenu(), Shell_MergeMenus(), ShellExecute_ContextMenuVerb(), ShellFolderContextMenu(), SHInvokeCommand(), 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(), and CTrayWindow::TrackCtxMenu().
Definition at line 855 of file menu.c.
Referenced by test_mbs_help(), and test_menu_locked_by_window().
Definition at line 864 of file menu.c.
Referenced by test_system_menu().
Definition at line 712 of file misc.c.
Referenced by GetMenuItemInfo_common(), InsertMenuItemA(), InsertMenuItemW(), SetMenuItemInfoA(), and SetMenuItemInfoW().
Definition at line 875 of file menu.c.
Referenced by test_menu_locked_by_window(), and WndProc().
Definition at line 900 of file menu.c.
Definition at line 912 of file menu.c.
BOOL WINAPI GetMenuInfo | ( | HMENU | hmenu, |
LPMENUINFO | lpcmi | ||
) |
Definition at line 928 of file menu.c.
Referenced by test_mbs_help(), test_menu_bmp_and_string(), test_menu_getmenuinfo(), test_menu_setmenuinfo(), test_menualign(), and test_subpopup_locked_by_menu().
Definition at line 964 of file menu.c.
Referenced by check_menu_items(), compare_menu_data(), and test_menu_resource_layout().
Definition at line 976 of file menu.c.
Referenced by test_menu_search_bycommand().
|
static |
Definition at line 175 of file menu.c.
Referenced by GetMenuItemInfoA(), and GetMenuItemInfoW().
Definition at line 989 of file menu.c.
Referenced by check_menu_item_info(), check_menu_items(), compare_menu_data(), test_AppendMenu(), test_menu_add_string(), test_menu_bmp_and_string(), test_menu_ownerdraw(), test_menu_resource_layout(), test_menu_search_bycommand(), test_subpopup_locked_by_menu(), and test_system_menu().
Definition at line 1020 of file menu.c.
Referenced by check_menu_item_info().
Definition at line 1046 of file menu.c.
Referenced by test_menu_circref(), test_menu_flags(), test_menu_hilitemenuitem(), test_system_menu(), and WndProc().
Definition at line 1075 of file menu.c.
Referenced by check_menu_item_info(), and test_menu_add_string().
Definition at line 1110 of file menu.c.
Referenced by check_menu_item_info(), and test_menu_add_string().
Definition at line 1148 of file menu.c.
Definition at line 1169 of file menu.c.
Referenced by test_menu_bmp_and_string(), and test_system_menu().
BOOL WINAPI InsertMenuA | ( | HMENU | hMenu, |
UINT | uPosition, | ||
UINT | uFlags, | ||
UINT_PTR | uIDNewItem, | ||
LPCSTR | lpNewItem | ||
) |
Definition at line 1179 of file menu.c.
Referenced by ChangeMenuA(), test_menu_flags(), test_menu_locked_by_window(), test_menu_search_bycommand(), and test_subpopup_locked_by_menu().
Definition at line 1219 of file menu.c.
Referenced by create_menuitem_from_data(), insert_menu_item(), test_AppendMenu(), test_mbs_help(), test_menu_add_string(), test_menu_search_bycommand(), test_menu_setmenuinfo(), and test_menualign().
Definition at line 1262 of file menu.c.
Referenced by insert_menu_item(), and MENUEX_ParseResource().
BOOL WINAPI InsertMenuW | ( | HMENU | hMenu, |
UINT | uPosition, | ||
UINT | uFlags, | ||
UINT_PTR | uIDNewItem, | ||
LPCWSTR | lpNewItem | ||
) |
Definition at line 1300 of file menu.c.
Referenced by ChangeMenuW().
Definition at line 144 of file menu.c.
Definition at line 1331 of file menu.c.
Referenced by get_bad_hmenu(), GetMenuState(), GetSubMenu(), MENU_NormalizeMenuItemInfoStruct(), test_menu_locked_by_window(), and test_subpopup_locked_by_menu().
Definition at line 1342 of file menu.c.
Referenced by test_CheckMenuRadioItem().
HMENU WINAPI LoadMenuIndirectA | ( | CONST MENUTEMPLATE * | lpMenuTemplate | ) |
Definition at line 1357 of file menu.c.
Referenced by LoadMenuA(), and test_menu_resource_layout().
HMENU WINAPI LoadMenuIndirectW | ( | CONST MENUTEMPLATE * | lpMenuTemplate | ) |
Definition at line 1366 of file menu.c.
Referenced by LoadMenuIndirectA(), and LoadMenuW().
Definition at line 1407 of file menu.c.
Referenced by User32CallLoadMenuFromKernel().
Definition at line 91 of file menu.c.
FORCEINLINE PMENU MENU_GetMenu | ( | HMENU | hMenu | ) |
Definition at line 80 of file menu.c.
Referenced by MENU_FindItem(), and MENU_mnu2mnuii().
|
static |
Definition at line 529 of file menu.c.
Referenced by AppendMenuA(), AppendMenuW(), InsertMenuA(), InsertMenuW(), ModifyMenuA(), and ModifyMenuW().
|
static |
Definition at line 588 of file menu.c.
Referenced by InsertMenuItemA(), InsertMenuItemW(), SetMenuItemInfoA(), and SetMenuItemInfoW().
Definition at line 418 of file menu.c.
Referenced by LoadMenuIndirectW().
VOID MenuCleanup | ( | VOID | ) |
Definition at line 463 of file menu.c.
Referenced by LoadMenuIndirectW().
LRESULT WINAPI MenuWindowProcA | ( | HWND | hWnd, |
ULONG_PTR | Result, | ||
UINT | Msg, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) |
Definition at line 1674 of file menu.c.
LRESULT WINAPI MenuWindowProcW | ( | HWND | hWnd, |
ULONG_PTR | Result, | ||
UINT | Msg, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) |
Definition at line 1694 of file menu.c.
BOOL WINAPI ModifyMenuA | ( | HMENU | hMenu, |
UINT | uPosition, | ||
UINT | uFlags, | ||
UINT_PTR | uIDNewItem, | ||
LPCSTR | lpNewItem | ||
) |
Definition at line 1423 of file menu.c.
Referenced by ChangeMenuA(), modify_menu(), test_AppendMenu(), test_menu_circref(), test_menu_flags(), test_menu_ownerdraw(), and test_system_menu().
BOOL WINAPI ModifyMenuW | ( | HMENU | hMenu, |
UINT | uPosition, | ||
UINT | uFlags, | ||
UINT_PTR | uIDNewItem, | ||
LPCWSTR | lpNewItem | ||
) |
Definition at line 1463 of file menu.c.
Referenced by ChangeMenuW(), modify_menu(), and test_system_menu().
Definition at line 376 of file menu.c.
Referenced by MenuWindowProcA(), and RegisterClientPFN().
Definition at line 305 of file menu.c.
Referenced by MenuWindowProcW(), PopupMenuWndProcA(), and RegisterClientPFN().
Definition at line 1497 of file menu.c.
Referenced by test_getmenubarinfo(), test_GetMenuItemRect(), test_mbs_help(), test_menu_cancelmode(), test_menu_hilitemenuitem(), test_menu_input(), test_menu_locked_by_window(), and test_menu_ownerdraw().
BOOL WINAPI SetMenuInfo | ( | HMENU | hmenu, |
LPCMENUINFO | lpcmi | ||
) |
Definition at line 1508 of file menu.c.
Referenced by test_mbs_help(), and test_menu_setmenuinfo().
BOOL WINAPI SetMenuItemBitmaps | ( | HMENU | hMenu, |
UINT | uPosition, | ||
UINT | uFlags, | ||
HBITMAP | hBitmapUnchecked, | ||
HBITMAP | hBitmapChecked | ||
) |
Definition at line 1530 of file menu.c.
Definition at line 1551 of file menu.c.
Referenced by clear_ftype_and_state(), set_menu_item_info(), test_AppendMenu(), test_menu_add_string(), test_menu_search_bycommand(), test_menualign(), and test_system_menu().
Definition at line 1599 of file menu.c.
Referenced by set_menu_item_info(), SetMenuItemBitmaps(), and test_system_menu().
BOOL WINAPI TrackPopupMenu | ( | HMENU | Menu, |
UINT | Flags, | ||
int | x, | ||
int | y, | ||
int | Reserved, | ||
HWND | Wnd, | ||
CONST RECT * | Rect | ||
) |
Definition at line 1652 of file menu.c.
Referenced by menu_track_again_wnd_proc(), MyTrackPopupMenu(), test_emptypopup(), test_mbs_help(), test_menu_cancelmode(), test_menu_ownerdraw(), test_menu_trackagain(), test_menualign(), and test_subpopup_locked_by_menu().
Definition at line 665 of file menu.c.
Definition at line 655 of file menu.c.
WINE_DEFAULT_DEBUG_CHANNEL | ( | menu | ) |
const struct builtin_class_descr POPUPMENU_builtin_class |