![]() |
Picker Messages |
Header: ColorPickerComponents.h |
enum { kInitPicker = 0, kTestGraphicsWorld = 1, kGetDialog = 2, kGetItemList = 3, kGetColor = 4, kSetColor = 5, kEvent = 6, kEdit = 7, kSetVisibility = 8, kDrawPicker = 9, kItemHit = 10, kSetBaseItem = 11, kGetProfile = 12, kSetProfile = 13, kGetPrompt = 14, kSetPrompt = 15, kGetIconData = 16, kGetEditMenuState = 17, kSetOrigin = 18, kExtractHelpItem = 19 };
After receiving this request code, a color picker initializes any private data that it needs. See
After receiving this request code, a color picker determines whether it can operate on the users system. See
After receiving this request code, a color picker returns NULL if it uses the default dialog box, or it returns a pointer to its own dialog box. See
After receiving this request code, a color picker returns a list of items for display in a color picker dialog box. See
After receiving this request code, a color picker returns a coloreither the original color for the color picker or the new color selected by the user. See
After receiving this request code, a color picker sets either the original color or the new color. See
After receiving this request code, a color picker performs any special processing for an event. See
After receiving this request code, a color picker performs an editing command or lets the Dialog Manager handle the command. See
After receiving this request code, a color picker changes its visibility. See
After receiving this request code, a color picker redraws itself. See
After receiving this request code, a color picker responds to an event in a dialog box item. See
After receiving this request code, a color picker sets the base item for dialog box items. See
After receiving this request code, a color picker returns a handle to its destination color-matching profile. See
After receiving this request code, a color picker changes its destination color-matching profile. See
After receiving this request code, a color picker returns its prompt string. See
After receiving this request code, a color picker sets its prompt string. See
After receiving this request code, a color picker returns its script code and the resource ID of its icon family. See
After receiving this request code, a color picker returns information about its edit menu. See
After receiving this request code, a color picker updates any information it maintains about the local coordinate system of its dialog box. See
After receiving this request code, a color picker returns information about its help balloons. See
When a color picker receives a request code from the Component Manager, the color picker determines the nature of the request, performs the appropriate processing, sets an error code if necessary, and returns an appropriate function result to the Component Manager. These request codes are defined by the PickerMessages enumeration.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)