HelpEvent.HelpEvent

Overview | Methods | Fields | This Package | All Packages

HelpEvent.HelpEvent

Creates a HelpEvent object.

Syntax

public HelpEvent( int contextType, int controlId, IComponent component, int contextId, Point mousePos )

public HelpEvent( Object extendedInfo, int contextType, int controlId, IComponent component, int contextId, Point mousePos )

Parameters

extendedInfo

Additional information supplied by com.ms.wfc.html events. You should not pass a value for this parameter outside the context of the com.ms.wfc.html package. For more information, see Event.extendedInfo and DhEventInfo.

contextType

An integer that specifies whether Help was requested for a menu item or for a control. Possible values are HELPINFO_WINDOW and HELPINFO_MENUITEM.

controlId

The identifier of the control or menu item.

component

The control or menu item that the user wants Help on.

contextId

The Help context identifier of the control.

mousePos

The screen coordinates of the mouse pointer. This is useful for providing Help based on the position of the mouse pointer.