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.
Sets the color of the specified color menu button.
static void SetColorByCmdID(
   UINT uiCmdID,
   COLORREF color
);
Parameters
- [in] uiCmdID 
 The resource ID of a color menu button.
- [in] color 
 An RGB color value.
Requirements
Header: afxcolormenubutton.h