Share via


CMFCRibbonColorButton::SetDocumentColors

Specifies a list of RGB values to display in the document color area.

void SetDocumentColors(
   LPCTSTR lpszLabel,
   CList<COLORREF,COLORREF>& lstColors 
);

Parameters

  • [in] lpszLabel
    The text to be displayed with the document colors.

  • [in] lstColors
    A reference to a list of RGB values.

Requirements

Header: afxribboncolorbutton.h

See Also

Reference

CMFCRibbonColorButton Class

Hierarchy Chart