Important: The information in this document is obsolete and should not be used for new development.
HMBalloonPict
To get a handle to a picture before displaying it in a help balloon, use theHMBalloonPictfunction.
FUNCTION HMBalloonPict (aHelpMsg: HMMessageRecord; VAR coolPict: PicHandle): OSErr;
aHelpMsg- The help message for the help balloon; in this case, a picture.
coolPict- A handle to the picture that the Help Manager will use if you later choose to display the help balloon.
DESCRIPTION
TheHMBalloonPictfunction does not display the help balloon; it returns a handle to the picture that the Help Manager will use if you later choose to display a help balloon with the specified help message.The
pictFramefield of the picture handle in thecoolPictparameter contains the same rectangle as the rectangle obtained from theHMBalloonRectfunction. The rectangle specifies the display rectangle that surrounds the picture.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theHMBalloonPictfunction are
Trap macro Selector _Pack14 $040F RESULT CODES
noErr 0 No error paramErr -50 Error in parameter list memFullErr -108 Not enough room in heap zone SEE ALSO
TheaHelpMsgparameter is of data typeHMMessageRecord. "Providing Help Balloons for Dynamic Windows" beginning on page 3-69 describes the fields of this record.