This method initializes a CPalette object by creating a Windows CE logical color palette and attaching it to the CPalette object.
Header file: | Afxwin.h |
Platforms: | Palm-size PC, H/PC Pro |
Windows CE versions: | 2.10 and later |
Complete documentation: | Visual C++ documentation |
BOOL CreatePalette( LPLOGPALETTE lpLogPalette );