HELPINFOHELPINFO*
*Contents  *Index  *Topic Contents
*Previous Topic: FVSHOWINFO
*Next Topic: HELPWININFO

HELPINFO

Contains information about an item for which context-sensitive Help has been requested.

Syntax

typedef  struct  tagHELPINFO { 
    UINT     cbSize; 
    int      iContextType 
    int      iCtrlId; 
    HANDLE   hItemHandle; 
    DWORD    dwContextId; 
    POINT    MousePos; 
} HELPINFO, FAR *LPHELPINFO; 

Members

cbSize
Structure size, in bytes.
iContextType
Type of context for which Help is requested. This member can be one of the following values:
HELPINFO_MENUITEMHelp requested for a menu item.
HELPINFO_WINDOWHelp requested for a control or window.
iCtrlId
Identifier of the window or control if iContextType is HELPINFO_WINDOW, or identifier of the menu item if iContextType is HELPINFO_MENUITEM.
hItemHandle
Identifier of the child window or control if iContextType is HELPINFO_WINDOW, or identifier of the associated menu if iContextType is HELPINFO_MENUITEM.
dwContextId
Help context identifier of the window or control.
MousePos
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.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.