Important: The information in this document is obsolete and should not be used for new development.
MyGetDialog
Color picker-defined subroutine that handles akGetDialog
request.If you create a color picker, it must respond to the
kGetDialog
request 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 thekGetDialog
request 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, yourMyGetDialog
function 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, yourMyGetDialog
function should returnnil
.