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.
Initializes a CPalette object by creating a Windows logical color palette and attaching it to the CPalette object.
BOOL CreatePalette(
LPLOGPALETTE lpLogPalette
);
Parameters
- lpLogPalette
Points to a LOGPALETTE structure that contains information about the colors in the logical palette.
Return Value
Nonzero if successful; otherwise 0.
Remarks
See the Windows SDK for more information about the LOGPALETTE structure.
Requirements
Header: afxwin.h