Important: The information in this document is obsolete and should not be used for new development.
 
  
  
  
 
CTabChanged
If you modify the content of aColorTablerecord (described on page 4-47), use theCTabChangedprocedure.
PROCEDURE CTabChanged (ctab: CTabHandle);
ctab- A handle to the
ColorTablerecord changed by your application.DESCRIPTION
For theColorTablerecord you specify in thectabparameter, theCTabChangedprocedure calls the Color Manager functionGetCTSeedto get a new seed (that is, a new, unique identifier in thectSeedfield of theColorTablerecord) and notifies Color QuickDraw of the change.SPECIAL CONSIDERATIONS
TheCTabChangedprocedure may move or purge memory in the application heap. Your application should not call theCTabChangedprocedure at interrupt time.Your application should never need to directly modify a
ColorTablerecord and use theCTabChangedprocedure; instead, your application should use the QuickDraw routines described in this book for manipulating the values in aColorTablerecord.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theCTabChangedprocedure are
Trap macro Selector _QDExtensions $00040007 SEE ALSO
TheGetCTSeedfunction is described in the chapter "Color Manager" in Advanced Color Imaging on the Mac OS.
 
  
  
 