Previous Book Contents Book Index Next

Inside Macintosh: Advanced Color Imaging Reference /
Chapter 2 - Color Picker Manager Reference /
Constants and Data Types

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 set in the 'hmnu' resource for the help balloon.
The location, in global coordinates, of the help balloon's tip.
A rectangle, in global coordinates, that the Help Manager uses if necessary to calculate a new tip location for the help balloon.
The resource ID of the 'WDEF' resource containing the balloon-definition function for the help balloon.
The variation code (0-7) used to specify the shape and position of a help balloon.
A help message (HMMessageRecord) structure, which describes the text for the help message of a help balloon.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996