Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Represents a pop-up menu that users use to select colors in a document or application.
class CMFCColorPopupMenu : public CMFCPopupMenu
Members
Public Constructors
Name |
Description |
Constructs a CMFCColorPopupMenu object. |
|
CMFCColorPopupMenu::~CMFCColorPopupMenu |
Destructor. |
Public Methods
Name |
Description |
Creates a dockable tear-off color bar. (Overrides CMFCPopupMenu::CreateTearOffBar.) |
|
Returns the CMFCPopupMenuBar that is embedded inside the pop-up menu. (Overrides CMFCPopupMenu::GetMenuBar.) |
|
CMFCColorPopupMenu::GetThisClass |
Used by the framework to obtain a pointer to the CRuntimeClass object that is associated with this class type. |
Sets the property grid control object of the embedded CMFCColorBar object. |
Data Members
Name |
Description |
m_bEnabledInCustomizeMode |
A Boolean value that determines whether to show the color bar. |
m_wndColorBar |
The CMFCColorBar object that provides color selection. |
Remarks
This class inherits the pop-up menu functionality of the CMFCPopupMenu class and manages a CMFCColorBar object that provides color selection. When the toolbar framework is in customization mode and the m_bEnabledInCustomizeMode member is set to FALSE, the color bar object is not shown. For more information about customization mode, see CMFCToolBar::IsCustomizeMode
For more information about CMFCColorBar, see CMFCColorBar Class.
Inheritance Hierarchy
Requirements
Header: afxcolorpopupmenu.h