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 table displayed when the user clicks the color button.
void UpdateColor(
COLORREF color
);
Parameters
- [in] color
A color selected by the user.
Remarks
The CMFCRibbonColorButton::UpdateColor method 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 CMFCRibbonColorButton::GetColor method to retrieve the selected color.
Requirements
Header: afxribboncolorbutton.h