Important: The information in this document is obsolete and should not be used for new development.
MyCoachReplyProc
A coachmark handler function
should find and return the
rectangle for a named object. Here is the syntax of a coachmark handler function:
pascal OSErr MyCoachReplyProc (Rect *pRect, Ptr name, long refCon);
pRect
- An address through which your coachmark handler should return the rectangle of the object to coachmark, in global coordinates.
name
- The name of the object to coachmark. The name is stored as a
NULL
-terminated string.refCon
- A reference constant, which your application sets when it installs the coachmark handler. Your coachmark handler can use this reference constant for any purpose.
DESCRIPTION
A coachmark reply function should return, through thepRect
parameter, the global coordinates of the object to coachmark.RESULT CODES
TheMyCoachReplyProc
function should returnnoErr
if successful or an appropriate result code otherwise.SEE ALSO
For information on installing a coachmark handler, see page 9-33.