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.
Called by the framework when the user selects a color from the color bar that displays when the user clicks the color button.
virtual void UpdateColor(
COLORREF color
);
Parameters
- [in] color
A color selected by the user.
Remarks
The UpdateColor function changes the currently selected button's color and notifies its parent by sending a WM_COMMAND message with a BN_CLICKED standard notification. Use the CMFCColorButton::GetColor method to retrieve the selected color.
Requirements
Header: afxcolorbutton.h