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.
Adds a group of colors to the regular color area.
void AddColorsGroup(
LPCTSTR lpszName,
const CList<COLORREF,COLORREF>& lstColors,
BOOL bContiguousColumns=FALSE
);
Parameters
[in] lpszName
The group name.[in] lstColors
The list of colors.[in] bContiguousColumns
Controls how the color items are displayed in the group. If TRUE, the color items are drawn without a vertical spacing. If FALSE, the color items are drawn with a vertical spacing.
Remarks
Use this function to make the color pop-up display several groups of colors. You can control how the colors are displayed in group.
Requirements
Header: afxribboncolorbutton.h