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 theHMBalloonPict
function.
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
TheHMBalloonPict
function 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
pictFrame
field of the picture handle in thecoolPict
parameter contains the same rectangle as the rectangle obtained from theHMBalloonRect
function. The rectangle specifies the display rectangle that surrounds the picture.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theHMBalloonPict
function 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
TheaHelpMsg
parameter is of data typeHMMessageRecord
. "Providing Help Balloons for Dynamic Windows" beginning on page 3-69 describes the fields of this record.