The HELPINFO Structure


  

typedef struct tagHELPINFO {   // hi

UINT cbSize;

int iContextType

int iCtrlId;

HANDLE hItemHandle;

DWORD dwContextId;

POINT MousePos;

} HELPINFO, FAR *LPHELPINFO;

 

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

 

ParameterDescription

cbSizeSize of this structure, in bytes.

iContextTypeType of context for which Help is requested. This member can be one of these values:

ValueMeaning

HELPINFO_MENUITEMHelp requested for a menu item.

HELPINFO_WINDOWHelp requested for a control or window.

iCtrlldIdentifier of the window or control if the iContextType parameter is HELPINFO_WINDOW, or identifier of the menu item if the iContextType parameter is HELPINFO_MENUITEM.

hItemHandleIdentifier of the child window or control if iContextType is HELPINFO_WINDOW, or identifier of the associated menu if iContextType is HELPINFO_MENUITEM.

dwContextIdHelp context identifier of the window or control.

MousePosA POINT structure that contains the screen coordinates of the mouse cursor. This parameter is useful for providing Help based on the position of the mouse cursor.   

 

See Also

Calling WinHelp()  

Calling WinHelp Version 4.0

#defines list

Examples

FuCommand Parameters

HELP Context ID Property  

The HELPWININFO Structure

The MULTIKEYHELP Structure

The WM TCARD Message

Visual Basic