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.
Initializes a palette with the colors in a specified array of colors.
static BOOL CreatePalette(
const CArray<COLORREF, COLORREF>& arColors,
CPalette& palette
);
Parameters
Parameter |
Description |
|---|---|
[in] arColors |
An array of colors. |
[in] palette |
A palette of colors. |
Return Value
TRUE if this method is successful; otherwise, FALSE.
Requirements
Header: afxcolorbar.h