Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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