Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
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