Important: The information in this document is obsolete and should not be used for new development.
SetPickerOrigin
Moves an application-owned dialog box for a color picker.
pascal OSErr SetPickerOrigin ( picker thePicker, Point where);
thePicker
- A color picker.
where
- The global coordinates of where to move the upper-left corner of the dialog box containing the color picker.
DISCUSSION
TheSetPickerOrigin
function moves the upper-left corner of dialog box containing the color picker specified in the parameterthePicker
to the location specified in thewhere
parameter.SPECIAL CONSIDERATIONS
TheSetPickerOrigin
function works only for application-owned dialog boxes; system-owned and color picker-owned dialog boxes causeSetPickerOrigin
to return an error.