FromHandle |
Returns a pointer to a CPalette object when given a handle to a Windows palette object. If a CPalette object is not already attached to the Windows palette, a temporary CPalette object is created and attached. |
|
GetPaletteEntries |
Retrieves a range of palette entries in a logical palette. |
|
SetPaletteEntries |
Sets RGB color values and flags in a range of entries in a logical palette. |
|
AnimatePalette |
Replaces entries in the logical palette identified by the CPalette object. The application does not have to update its client area because Windows maps the new entries into the system palette immediately. |
|
GetNearestPaletteIndex |
Returns the index of the entry in the logical palette that most closely matches a color value. |
|
ResizePalette |
Changes the size of the logical palette specified by the CPalette object to the specified number of entries. |
|