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.
Specifies a set of colors and the set's name. The set of colors is displayed using a CMFCColorBar Class object.
void SetDocumentColors(
LPCTSTR lpszLabel,
CList<COLORREF,COLORREF>& lstColors
);
Parameters
[in] lpszLabel
Specifies the label to be displayed with the set of document colors.[in] lstColors
A reference to a list of RGB values.
Remarks
A CMFCColorButton object maintains a list of RGB values that are transferred to a CMFCColorBar Class object. When the color bar is displayed, these colors are shown in a special section whose label is specified by the lpszLabel parameter.
Requirements
Header: afxcolorbutton.h