Help Item Structure
The ExtractPickerHelpItem function (page 2-49) reports the messages and other characteristics for the help balloons for a color picker. Help balloons are described in detail in the chapter "Help Manager" in Inside Macintosh: More Macintosh Toolbox.
typedef struct HelpItemInfo {/* help balloon info */
long options; /* 'hmnu' options bits */
Point tip; /* tip location */
Rect altRect; /* alternate rectangle */
short theProc; /* res ID of balloon-definition
function */
short variant; /* variation code */
HMMessageRecordhelpMessage;/* help message structure */
} HelpItemInfo;
Field Description
options
- Options set in the
'hmnu' resource for the help balloon.
tip
- The location, in global coordinates, of the help balloon's tip.
altRect
- A rectangle, in global coordinates, that the Help Manager uses if necessary to calculate a new tip location for the help balloon.
theProc
- The resource ID of the
'WDEF' resource containing the balloon-definition function for the help balloon.
variant
- The variation code (0-7) used to specify the shape and position of a help balloon.
helpMessage
- A help message (
HMMessageRecord) structure, which describes the text for the help message of a help balloon.