void CBCGPColorButton::SetDocumentColors | ( | LPCTSTR | lpszLabel, |
CList< COLORREF, COLORREF > & | lstColors | ||
) |
Allows to specify a list of RGB values to be displayed on the color bar as document colors.
A CBCGPColorButton object maintains a separate list of RGB values that are transferred to a color bar CBCGPColorBar object when it is being displayed. These colors are shown in the special section labeled as specified by the lpszLabel parameter.
lpszLabel | Specifies a text to be displayed with the document colors. |
lstColors | A reference to list of RGB values. |