ActivatePalette
WindowPtr srcWindow; pointer to the address of a window window (the one indicated by srcWindow) whenever your application changes that
window's status.
environment.
Notes: ActivatePalette is called whenever your application changes a source window's position, opens or closes it, or brings it from back to front.
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.