MyGetDialogColor picker-defined subroutine that handles a
If you create a color picker, it must respond to the
kGetDialogrequest code. The Color Picker Manager sends this code to obtain the custom dialog box for your color picker, in case your color picker uses a custom dialog box. A color picker responds to the
kGetDialogrequest code by calling a color picker-defined subroutine (for example,
MyGetDialog) to handle the request.
pascal DialogPtr MyGetDialog (PickerStorageHndl storage);
- A handle to your color picker's global data.
DISCUSSIONIf your color picker uses its own dialog box, your
MyGetDialogfunction should return a pointer to this dialog box as its function result. If your color picker does not use a color picker-owned dialog box, your
MyGetDialogfunction should return