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

Properties

m_dwStateFlags Flags of the command state.
m_nCmdID Command identifier.
m_nDropDownHeightMax Maximum height of the drop-down window (used in case the command item is associated with an edit or combo box in the toolbar or in the menu).
m_nDropDownWidth Width of the dropped-down window (used in case the command item is associated with an edit or combo box in the toolbar or in the menu).
m_nIconIdx Icon index in the icon array of the command profile; should be set to -1 if the command has no icon.
m_nLParamUserData User-defined data associated with the command.
m_nTextFieldWidth Width of the text field (used in case the command item is associated with an edit or combo in the toolbar or in the menu).
m_pProfile Pointer to the CExtCmdProfile object in which the command is stored.
m_sAccelText Accelerator text.
m_sMenuText Text in the menu.
m_sTipStatus Text to display in the status bar and in the balloon tooltip used in the menu.
m_sTipTool Tooltip text for the toolbar button.
m_sToolbarText Text in the toolbar.

Classes

~CExtCmdItem Destructor.
CExtCmdItem Constructor and copy constructor.

Overridables

Deliver Delivers the command message to a specified window.
DoUpdateCmdUI Invokes the MFC command updating mechanism.
OnGetCustomizeCommandDescription Retrieves the command description for displaying in the Customize dialog window.
OnGetCustomizeScriptName Retrieves the command name for displaying in the Customize dialog window.
OnGetToolBarCustomizeName Retrieves the toolbar name for displaying in the Customize dialog window.
StateEnable Marks/unmarks the command as an enabled one.
StateForceRarely Marks/unmarks the command as an always rarely used one.
StateGetCheck Determines whether the command has a check mark.
StateGetIndeterminate Determines whether the command is in an indeterminate state.
StateGetRadio Determines whether the command has a radio mark.
StateIsAutochangeID Determines whether the command with a sub menu should automatically change its command identifier.
StateIsBasic Determines whether the command is a basic one.
StateIsCannotHide Determines whether the command can be hidden with the quick customization menu.
StateIsColor Determines whether the command represents a color-picker button or color popup menu.
StateIsColorBtnCustom Determines whether the color selection popup menu associated with the command has the Custom button.
StateIsColorBtnDefault Determines whether the color selection popup menu associated with the command has the Default button.
StateIsCombo Determines whether the text field command is combo-box like.
StateIsCtrlVisibleVertically Determines whether the command with the control in a toolbar should display its control window when the toolbar is docked vertically.
StateIsCustomToolbar Determines whether the command is allocated for showing/hiding the user-defined toolbar which is created in the Customize mode.
StateIsDynamicPopup Determines whether the command is allocated for the dynamically created popup menu in the customize mode.
StateIsEnable Determines whether the command is enabled.
StateIsForceRarely Determines whether the command is always rarely used.
StateIsMenubarTemp Determines whether the command is temporarily allocated by the menu bar.
StateIsNoRotateVL Sets/resets the flag indicating that the command with a sub menu should be displayed equally both in vertically and horizontally docked toolbars.
StateIsPersistentIcon Determines whether the command icon can be modified in the Customize mode.
StateIsRarelyUsed Determines whether the command is rarely used.
StateIsResizable Determines whether the text/combo field associated with the command can be resized in the Customize mode.
StateIsSeparatedDD Determines whether the command with a sub menu should be displayed as a button with the separated drop-down area.
StateIsTextField Determines whether the command represents a text field or combo field.
StateIsTextFieldNotEditable Determines whether the text/compo field associated with the command is read-only.
StateSetAutochangeID Sets/resets the flag indicating that the command with a sub menu should automatically change its command identifier.
StateSetBasic Marks/unmarks the command as a basic one.
StateSetCannotHide Sets/resets the flag indicating that the command cannot be hidden with the quick customization menu.
StateSetCheck Sets/resets the check mark for the command.
StateSetColor Sets/resets the flag that indicates that the command is a color-picker button or color popup menu.
StateSetColorBtnCustom Sets/resets the flag indicating that the color popup menu associated with this command should display the Custom button.
StateSetColorBtnDefault Sets/resets the flag indicating that the color popup menu for this command should display the Default button.
StateSetCombo Sets/resets the flag which tells the customization subsystem to create a combo field in toolbars and menus for this command.
StateSetCtrlVisibleVertically Sets/resets the flag indicating that the command with the control in a toolbar should display its control window when the toolbar is docked vertically.
StateSetCustomToolbar Sets/resets the flag which marks the command as allocated for showing/hiding the user-defined toolbar which is created in the Customize mode.
StateSetDynamicPopup Sets/resets the flag which marks the command as allocated for the dynamically created popup menu in the Customize mode.
StateSetIndeterminate Sets/resets an indeterminate state of the command.
StateSetMenubarTemp Sets/resets the flag which marks the command as temporarily allocated by the menu bar.
StateSetNoRotateVL Sets/resets the flag indicating that the command with a sub menu should be displayed equally both in vertically and horizontally docked toolbars.
StateSetPersistentIcon Sets/resets the flag which allows changing the command icon in the Customize mode.
StateSetRadio Sets/resets the radio mark for the command.
StateSetResizable Sets/resets the flag that allows resizing the command text/combo field in the Customize mode.
StateSetSeparatedDD Sets/resets the flag indicating the command with a sub menu should be displayed as a button with the separated drop-down area.
StateSetTextField Sets/resets the flag which tells the customization subsystem to create a text/combo field in toolbars and menus for this command.
StateSetTextFieldNotEditable Sets/resets the flag which disables text editing in the fields associated with this command.
TipsClean Clears the data members dealing with tooltip texts.
TipsLoad Loads tooltip texts from the resource tables.
UpdateMoreExact Updates the object with data from another CExtCmdItem object.

Operators

operator= Assignment operator.

See Also

CExtCmdItem Overview | Hierarchy Chart