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.
Constructs a CMFCColorMenuButton object.
CMFCColorMenuButton();
CMFCColorMenuButton(
UINT uiCmdID,
LPCTSTR lpszText,
CPalette* pPalette=NULL
);
Parameters
[in] uiCmdID
A button command ID.[in] lpszText
The button text.[in] pPalette
A pointer to the button's color palette.
Remarks
The first constructor is the default constructor. The object's current color and automatic color are initialized to black (RGB(0, 0, 0)).
The second constructor initializes the button to the color that corresponds to the specified command ID.
Requirements
Header: afxcolormenubutton.h