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.
voidAnimatePalette(UINTnStartIndex**,UINTnNumEntries,LPPALETTEENTRYlpPaletteColors);**
Parameters
nStartIndex
Specifies the first entry in the palette to be animated.
nNumEntries
Specifies the number of entries in the palette to be animated.
lpPaletteColors
Points to the first member of an array of structures to replace the palette entries identified by nStartIndex and nNumEntries.
Remarks
Replaces entries in the logical palette attached to the CPalette object. When an application calls AnimatePalette, it does not have to update its client area, because Windows maps the new entries into the system palette immediately.
The AnimatePalette function will only change entries with the PC_RESERVED flag set in the corresponding palPaletteEntry member of the structure that is attached to the CPalette object. See LOGPALETTE in the Win32 SDK Programmer’s Reference for more information about this structure.
CPalette Overview | Class Members | Hierarchy Chart
See Also CPalette::CreatePalette,