Carbon


HelpItemInfo

Header: ColorPickerComponents.h

struct HelpItemInfo {
    SInt32 options; 
    Point tip; 
    Rect altRect; 
    SInt16 theProc; 
    SInt16 helpVariant; 
    HMMessageRecord helpMessage;
};

Field descriptions

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.

helpVariant

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.

The PickerExtractHelpItem function reports the messages and other characteristics for the help balloons for a color picker.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)