Important: The information in this document is obsolete and should not be used for new development.
HMGetBalloonWindow
The Help Manager displays help balloons in special windows; to get a pointer to the window record of the currently displayed help balloon, use theHMGetBalloonWindowfunction.
FUNCTION HMGetBalloonWindow (VAR window: WindowPtr): OSErr;
window- A pointer to the window record for the currently displayed help balloon.
DESCRIPTION
In itswindowparameter,HMGetBalloonWindowreturns a pointer to the window record for the currently displayed help balloon. The window record contains a graphics port record, which in turn defines the port's rectangle.If no help balloon is currently displayed, the
HMGetBalloonWindowfunction returnsNILin thewindowparameter. TheHMGetBalloonWindowfunction also returnsNILfor balloons created with theHMShowMenuBalloonfunction because no windows are created; likewise,NILis returned for balloons created with theHMShowBalloonfunction when thekHMSaveBitsNoWindowconstant is specified as themethodparameter.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theHMGetBalloonWindowfunction are
Trap macro Selector _Pack14 $0215 RESULT CODES
noErr 0 No error memFullErr -108 Not enough room in heap zone SEE ALSO
The description of theHMShowMenuBalloonfunction begins on page 3-96; the description of theHMShowBalloonfunction begins on page 3-93.