CPalette::CreatePalette

BOOLCreatePalette(LPLOGPALETTElpLogPalette**);**

Return Value

Nonzero if successful; otherwise 0.

Parameters

lpLogPalette

Points to a structure that contains information about the colors in the logical palette.

Remarks

Initializes a CPalette object by creating a Windows logical color palette and attaching it to the CPalette object.

See the Win32 SDK Programmer’s Reference for more information about the LOGPALETTE structure.

CPalette OverviewClass MembersHierarchy Chart

See Also   ,