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