SetPalette
SetPalette
Set a destination window's palette to source palette values void SetPalette( destWindow, srcPalette, cUpdates ); WindowPtr destWindow ; pointer to the address of a window 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