HELPINFO  3_6C3F 

The HELPINFO structure contains information about an item for which context-sensitive help has been requested.

typedef  struct  tagHELPINFO {   // hi

    UINT     cbSize;

    int      iContextType

    int      iCtrlId;

    HANDLE   hItemHandle;

    DWORD    dwContextId;

    POINT    MousePos;

} HELPINFO, FAR *LPHELPINFO;

 

Members

cbSize

Specifies the structure size, in bytes.

iContextType

Specifies the type of context for which help is requested. This member can be one of the following values:

Value

Meaning

HELPINFO_MENUITEM

Help requested for a menu item

HELPINFO_WINDOW

Help requested for a control or window

 

iCtrlId

Specifies the identifier of the window or control if iContextType is HELPINFO_WINDOW. Specifies the identifier of the menu item if iContextType is HELPINFO_MENUITEM.

hItemHandle

Identifies the child window or control if iContextType is HELPINFO_WINDOW. Identifies the associated menu if iContextType is HELPINFO_MENUITEM.

dwContextId

Specifies the help context identifier of the window or control.

MousePos

Specifies a POINT structure that contains the screen coordinates of the mouse cursor. This is useful for providing help based on the position of the mouse cursor.

 

See Also

POINT