CPalette::CreatePalette

This method initializes a CPalette object by creating a Windows CE logical color palette and attaching it to the CPalette object.

At a Glance

Header file: Afxwin.h
Platforms: Palm-size PC, H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL CreatePalette( LPLOGPALETTE lpLogPalette );