Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Properties

g_bFullScreenMode Specifies that the application is in the full screen mode if true.
g_bMenuDelayExpanding Flag that enables/disables showing the full menu after a short delay.
g_bMenuExpandAnimation Flag that enables/disables animation for rarely used commands.
g_bMenuExpanding Flag that enables/disables hiding rarely used commands.
g_bMenuHighlightRarely Flag that enables/disables displaying rarely used commands in different styles.
g_bMenuLargeIcons Flag that enables/disables large icons.
g_bMenuShowCoolTips Flag that enables/disables displaying cool tooltips.
g_bMenuWithShadows Flag that enables/disables shadows.
g_bMRU_UseFullPathsInMenu Flag that makes MRU menu items force displaying full file path if set to true. Otherwise default relative path is displayed.
g_bMRU_UseFullPathsInTipTool Flag that makes tooltips over MRU menu items force displaying full file path if set to true. Otherwise default relative path is displayed.
g_bUseDesktopWorkArea Flag that specifies whether desktop coordinates (if true), or screen coordinates (if false) should be used for drawing menus.
g_DefAnimationType Animation effect used in menus.
g_nAutoExpandTime Time in milliseconds after which collapsed popup menu becomes expanded automatically to make all the rarely items visible.
g_nTimeDelayedDisplaying Time in milliseconds after which covered by mouse pointer popup sub menu item displays next level menu.
g_nTimeDelayedHiding Time in milliseconds after which the popup sub menu becomes hidden when sub menu item lost its selection.

Classes

CancelMenuTracking Closes any displayed popup menus.
CExtPopupMenuWnd Constructor.
CreatePopupMenu Creates a popup menu and sets the window, which will receive commands from this menu. If the TPMX_OWNERDRAW_FIXED flag is used, the window redraws the menu. The method returns TRUE if successful, or FALSE otherwise.
IsMenuTracking Returns TRUE if the menu is displayed on the screen.
ItemBoldGet Returns true if the menu item is displayed bold.
ItemBoldSet Makes the menu item text to be displays bold/not bold. The bold menu that is disabled may be used as a caption line for several other menu items below.
ItemDefaultFind Returns a zero-based index of the default menu item. If no default menu item is found, the method returns a negative value. The method searches only within one menu sub level.
ItemDefaultGet Returns true if the menu item is default.
ItemDefaultSet Makes the specified menu item default.
ItemDefaultUnset Makes the default menu item non-default.
ItemEnabledAppearanceGet Returns true if the menu item always has the appearance of the enabled menu item and such menu item always looks like enabled though, in fact, it may be disabled.
ItemEnabledAppearanceSet Makes the menu item looking always enabled (regardless whether it is really enabled or disabled) or resets such behavior to standard.
ItemEnabledGet Returns true if the menu item is enabled.
ItemEnabledSet Makes the menu item enabled or disabled.
ItemFindByAccessChar Gets the menu item position by its accelerator.
ItemFindByText Gets the menu item position by its text
ItemFindPosForCmdID Gets the menu item position from the command id.
ItemGetAccelText Gets the accelerator text for the menu item specified by the position.
ItemGetCmdID Gets the Command identifier that is specified by the menu item position nPos. Returns either the menu command identifier, or either of two constants: TYPE_POPUP (a popup element) or TYPE_SEPARATOR (a separator).
ItemGetCount Gets the number of items in the menu.
ItemGetIcon Gets a reference to the icon object of the menu item specified by the position nPos.
ItemGetInfo Returns reference to CExtPopupMenuWnd::MENUITEMDATA object which is stores menu item information.
ItemGetPopup Gets a pointer to the submenu for the menu item specified by the position nPos. The method returns either NULL if there is no submenu (i.e. the item is a command), or a pointer. The class provides two overloaded functions with that name. The first function returns a constant pointer to a submenu and the second one - a non-constant pointer.
ItemGetText Gets the text of the menu item specified by the position nPos.
ItemInsert Inserts the item into the menu.
ItemInsertCommand Add an item to the menu without references to the command manager
ItemInsertSpecPopup Inserts the sub menu to the menu.
ItemIsDisplayed Gets the boolean Flag that indicates whether the menu item specified by the position nPos is visible, or hidden as rarely used.
ItemPaletteRowWrapGet Returns true if the menu item wraps the row of menu items in the popup menu with the palette layout.
ItemPaletteRowWrapSet Makes the menu item wrap/not wrap the row of menu items in the popup menu with the palette layout.
ItemRemove Removes the menu item specified by the position nPos.
ItemRemoveAllSeparators Removes all the separator items from one menu sub-level and returns a number of the removed separators.
ItemSetDisplayed Sets the boolean Flag that indicates whether the menu item specified by the position nPos is visible, or hidden as rarely used.
ItemSetPopupAccelText Assigns the accelerator text for the menu item specified by the position nPos.
ItemSetPopupIcon Assigns the icon to the menu item specified by the position nPos.
ItemSetPopupText Assigns the text to the menu item specified by the position nPos.
ItemToolLayoutGet Returns true if the menu item looks like a toolbar button.
ItemToolLayoutSet Makes the menu item look like a toolbar button or resets such the menu item appearance to default.
LoadMenu Loads the menu from the resource and returns TRUE if succeeded or FALSE otherwise. Before using this method, create the menu with CreatePopupMenu().
ResetPaletteWrapping Sets/resets the row wrap flags for all the menu items in the specified range.
TrackPopupMenu Displays the menu. Before calling the method, the window, which receives the menu commands, should be set (for details, see CreatePopupMenu(), LoadMenu(), UpdateFromMenu())
TrackFlagsGet Returns a set of TPMX_***flags applied when the menu was created.
TrackFlagsSet Assigns a set of TPMX_***flags to the menu, which replace the flags applied when the menu was created.
UpdateFromCmdTree Creates the menu based on the already existing CExtCustomizeCmdTreeNode object. Before using this method, the menu should be created by calling CreatePopupMenu(). The method returns true if successful, or false otherwise
UpdateFromMenu Creates the menu based on an already existing CMenu object and returns TRUE if succeeded or FALSE otherwise. Before using this method, create the menu with CreatePopupMenu().

See Also

CExtPopupMenuWnd Overview | Hierarchy Chart