HMBalloonRect
HMBalloonRect Get the coordinates of the help message rectangle
#include <Balloons.h> Help Manager
OSErr HMBalloonRect ( aHelpMsg, coolRect);
HMMessageRecord * aHelpMsg; the help information
Rect *coolRect; the rectangle coordinates
You can specify the help information for a help balloon and then use
the HMBalloonRect function to get the coordinates of the rectangle
that the
Help Manager would use to display the help balloon.
aHelpMsg specifies the help information for a help balloon. The aHelpMsg
parameter is of data type HMMessageRecord. The section en titled,
Help Balloons in Dynamic Windows describes the fields of this
record.
coolRect specifies the rectangle coordinates. The coordinates of the returned
rectangle are zero-based, with (0,0) the coordinates of the
upper-left corner of the rectangle. The coolRect parameter gives the
coordinates of the rectangle that encloses the user help information.
Returns: an Error Code.
noErr (0) No error
paramErr (-50) Error in parameter list
memFullErr (-108) Not enough room in heap zone

Notes: You can use the HMBalloonRect function to find out the size (not the
position) of the rectangle for a help balloon message.
The HMBalloonRect function calculates the coordinates that the
Help Manager will use if you show this help balloon. The
HMBalloonRect function returns the rectangle coordinates in the
coolRect parameter.