ActivatePalette
ActivatePalette Revise the source window's palette after a status change
#include <Palettes.h> Palette Manager
void ActivatePalette( srcWindow );
WindowPtr srcWindow; pointer to the address of a window
ActivatePalette implements a palette's color information for a particular
window (the one indicated by srcWindow) whenever your application changes that
window's status.
srcWindow is the window in which ActivatePalette is updating the color
environment.
Returns: none

Notes: ActivatePalette is called whenever your application changes a source
window's position, opens or closes it, or brings it from back to front.
ActivatePalette works across multiple screens, if need be, by intersecting
the port rectangle of the source window with each monitor. Provided the
intersection is occupied and the monitor has a color table, ActivatePalette
makes sure the color environment is sui table. If not, it calls the
Color Manager to reserve or change the device's table entries. Lastly, it
sends out update events to all the windows the change has impacted and which
want color updating.