SetPalette
SetPalette Set a destination window's palette to source palette values
#include <Palettes.h> Palette Manager
void SetPalette( destWindow, srcPalette, cUpdates );
WindowPtr destWindow ; pointer to the address of a window
PaletteHandle srcPalette ; handle to the source color palette
Boolean cUpdates ; TRUE = update window at each color environment
change
SetPalette applies a source palette's values to a destination color window.
destWindow is the window having its color environment changed.
srcPalette is the source palette from which the new color values are
obtained.
cUpdates is a Boolean value indicating whether or not you want the window
updated each time the color environment changes.
TRUE = change results in an update
FALSE = change does not result in an update
Returns: none