Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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::UpdateColor method to retrieve the selected color.
Requirements
Header: afxcolorbutton.h