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 theHMGetBalloonWindow
function.
FUNCTION HMGetBalloonWindow (VAR window: WindowPtr): OSErr;
window
- A pointer to the window record for the currently displayed help balloon.
DESCRIPTION
In itswindow
parameter,HMGetBalloonWindow
returns 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
HMGetBalloonWindow
function returnsNIL
in thewindow
parameter. TheHMGetBalloonWindow
function also returnsNIL
for balloons created with theHMShowMenuBalloon
function because no windows are created; likewise,NIL
is returned for balloons created with theHMShowBalloon
function when thekHMSaveBitsNoWindow
constant is specified as themethod
parameter.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theHMGetBalloonWindow
function 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 theHMShowMenuBalloon
function begins on page 3-96; the description of theHMShowBalloon
function begins on page 3-93.