Important: The information in this document is obsolete and should not be used for new development.
MyGetDialog
Color picker-defined subroutine that handles akGetDialogrequest.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 thekGetDialogrequest code by calling a color picker-defined subroutine (for example,MyGetDialog) to handle the request.
pascal DialogPtr MyGetDialog (PickerStorageHndl storage);
storage- A handle to your color picker's global data.
DISCUSSION
If your color picker uses its own dialog box, yourMyGetDialogfunction 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, yourMyGetDialogfunction should returnnil.