Menu Manager Reference
PDF
Overview
Functions by Task
Creating and Disposing of Menus
Manipulating the Root Menu
Manipulating the Menu Bar
Adding and Removing Menus
Manipulating and Accessing Menu Characteristics
Drawing Menus and Menu Items
Adding and Deleting Menu Items
Associating Data With Menu Items
Enabling Menus and Menu Items
Manipulating Menu Item Text
Manipulating and Accessing Menu Item Characteristics
Responding to Menu Events and User Selections
Handling Contextual Menu Plugins
Obsolete Functions
Functions
AcquireRootMenu
AppendMenuItemTextWithCFString
CalcMenuSize
CancelMenuTracking
ChangeMenuAttributes
ChangeMenuItemAttributes
ChangeMenuItemPropertyAttributes
CheckMenuItem
ClearMenuBar
CMPluginExamineContext
CMPluginHandleSelection
CMPluginPostMenuCleanup
ContextualMenuSelect
CopyMenuItemData
CopyMenuItems
CopyMenuItemTextAsCFString
CopyMenuTitleAsCFString
CountMenuItems
CountMenuItemsWithCommandID
CreateCustomMenu
CreateNewMenu
CreateStandardFontMenu
DeleteMenu
DeleteMenuItem
DeleteMenuItems
DisableAllMenuItems
DisableMenuCommand
DisableMenuItem
DisableMenuItemIcon
DisposeMenu
DisposeMenuBar
DrawMenuBar
DuplicateMenu
DuplicateMenuBar
EnableAllMenuItems
EnableMenuCommand
EnableMenuItem
EnableMenuItemIcon
FlashMenuBar
GetFontFamilyFromMenuSelection
GetIndMenuItemWithCommandID
GetItemCmd
GetItemMark
GetItemStyle
GetMBarHeight
GetMenu
GetMenuAttributes
GetMenuBar
GetMenuCommandMark
GetMenuCommandProperty
GetMenuCommandPropertySize
GetMenuDefinition
GetMenuExcludesMarkColumn
GetMenuFont
GetMenuHandle
GetMenuHeight
GetMenuID
GetMenuItemAttributes
GetMenuItemCommandID
GetMenuItemCommandKey
GetMenuItemFontID
GetMenuItemHierarchicalMenu
GetMenuItemIconHandle
GetMenuItemIndent
GetMenuItemKeyGlyph
GetMenuItemModifiers
GetMenuItemProperty
GetMenuItemPropertyAttributes
GetMenuItemPropertySize
GetMenuItemRefCon
GetMenuRef
GetMenuTitleIcon
GetMenuTrackingData
GetMenuType
GetMenuWidth
GetNewMBar
HideMenuBar
HiliteMenu
InsertMenu
InsertMenuItemTextWithCFString
InvalidateMenuEnabling
InvalidateMenuItems
InvalidateMenuSize
InvalMenuBar
IsMenuBarInvalid
IsMenuBarVisible
IsMenuCommandEnabled
IsMenuItemEnabled
IsMenuItemIconEnabled
IsMenuItemInvalid
IsMenuKeyEvent
IsMenuSizeInvalid
IsShowContextualMenuClick
IsShowContextualMenuEvent
IsValidMenu
LMGetTheMenu
MenuChoice
MenuEvent
MenuHasEnabledItems
MenuSelect
PopUpMenuSelect
RegisterMenuDefinition
RemoveMenuCommandProperty
RemoveMenuItemProperty
SetItemCmd
SetItemMark
SetItemStyle
SetMenuBar
SetMenuCommandMark
SetMenuCommandProperty
SetMenuDefinition
SetMenuExcludesMarkColumn
SetMenuFont
SetMenuHeight
SetMenuID
SetMenuItemCommandID
SetMenuItemCommandKey
SetMenuItemData
SetMenuItemFontID
SetMenuItemHierarchicalMenu
SetMenuItemIconHandle
SetMenuItemIndent
SetMenuItemKeyGlyph
SetMenuItemModifiers
SetMenuItemProperty
SetMenuItemRefCon
SetMenuItemTextWithCFString
SetMenuTitleIcon
SetMenuTitleWithCFString
SetMenuWidth
SetRootMenu
ShowMenuBar
UpdateInvalidMenuItems
UpdateStandardFontMenu
Callbacks
MenuDefProcPtr
Data Types
HMenuBarHeader
HMenuBarMenu
MCEntry
MDEFDrawData
MDEFDrawItemsData
MDEFFindItemData
MDEFHiliteItemData
MenuBarHandle
MenuBarHeader
MenuBarMenu
MenuCommand
MenuCRsrc
MenuDefSpec
MenuDefUPP
MenuHandle
MenuID
MenuItemDataRec
MenuItemID
MenuItemIndex
MenuRef
MenuTrackingData
Constants
Contextual Menu Gestalt Selector Constants
Contextual Menu Help Type Constants
Contextual Menu Selection Type Constants
Contextual Menu Item Content Constants
Custom Menu Definition Message Constants
Obsolete Menu Definition Messages
Hierarchical Font Menu Option Constant
Menu Attribute Constants
Menu Item Attribute Constants
Menu Definition Type Constants
Menu Definition Feature Constants
Menu Definition IDs
Menu Event Option Constants
Menu Glyph Constants
Menu Item Data Flags
Menu Item Icon Type Constants
Menu Item Property Attribute Constant
Menu Tracking Mode Constants
Modifier Key Mask Constants
No Mark Marking Character Constant
Menu Dismissal Constants
Standard Menu Definition Constants
Result Codes
Appendix A: Deprecated Menu Manager Functions
Deprecated in Mac OS X v10.5
AppendMenu
AppendMenuItemText
AppendResMenu
DeleteMCEntries
DisposeMCInfo
DisposeMenuDefUPP
EraseMenuBackground
GetItemIcon
GetMCEntry
GetMCInfo
GetMenuItemHierarchicalID
GetMenuItemText
GetMenuItemTextEncoding
GetMenuRetainCount
GetMenuTitle
InitContextualMenus
InsertFontResMenu
InsertIntlResMenu
InsertMenuItem
InsertMenuItemText
InsertResMenu
InvokeMenuDefUPP
MenuKey
NewMenu
NewMenuDefUPP
ProcessIsContextualMenuClient
ReleaseMenu
RetainMenu
ScrollMenuImage
SetItemIcon
SetMCEntries
SetMCInfo
SetMenuFlashCount
SetMenuItemHierarchicalID
SetMenuItemText
SetMenuItemTextEncoding
SetMenuTitle
Revision History
Index