Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Advanced Color Imaging Reference /
Chapter 2 - Color Picker Manager Reference /
Constants and Data Types


Gestalt Selector for the Color Picker

To test for the availability and version of the Color Picker Manager, use the Gestalt function with the selector defined by the following enumerator:

enum {
   gestaltColorPickerVersion   = 'cpkr' /* returns version of Color 
                                 Picker Manager */
}; 
If the Gestalt function returns a value of 00000200, version 2.0 of the Color Picker Manager is available. If the Gestalt function returns a value of 00000100, version 1.0 (that is, the original Color Picker Package) is available.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996