Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Advanced Color Imaging Reference /
Chapter 2 - Color Picker Manager Reference /
Color Picker Manager Functions / Creating a Custom Color Picker Dialog Box


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
The SetPickerOrigin function moves the upper-left corner of dialog box containing the color picker specified in the parameter thePicker to the location specified in the where parameter.

SPECIAL CONSIDERATIONS
The SetPickerOrigin function works only for application-owned dialog boxes; system-owned and color picker-owned dialog boxes cause SetPickerOrigin to return an error.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996