CPalette::CreatePalette
Initializes a CPalette object by creating a Windows logical color palette and attaching it to the CPalette object.
BOOL CreatePalette(
LPLOGPALETTE lpLogPalette
);
Параметры
- lpLogPalette
Points to a LOGPALETTE structure that contains information about the colors in the logical palette.
Возвращаемое значение
Nonzero if successful; otherwise 0.
Заметки
See the Windows SDK for more information about the LOGPALETTE structure.
Требования
Header: afxwin.h