NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HelpEventArgs Constructor (Int32, Int32, IComponent, Int32, Point)

Initializes a new instance of the HelpEventArgs class.

[Visual Basic]
Overloads Public Sub New( _
   ByVal contextType As Integer, _
   ByVal controlId As Integer, _
   ByVal component As IComponent, _
   ByVal contextId As Integer, _
   ByVal mousePos As Point _
)
[C#]
public HelpEventArgs(
   int contextType,
   int controlId,
   IComponent component,
   int contextId,
   Point mousePos
);
[C++]
public: HelpEventArgs(
   int contextType,
   int controlId,
   IComponent* component,
   int contextId,
   Point mousePos
);
[JScript]
public function HelpEventArgs(
   contextType : int,
   controlId : int,
   component : IComponent,
   contextId : int,
   mousePos : Point
);

Parameters

contextType
Specifies whether Help was requested for a menu item or 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 with.
contextId
The Help context identifier of the control.
mousePos
The coordinates of the mouse pointer. This is useful for providing Help based on the position of the mouse pointer.

See Also

HelpEventArgs Class | HelpEventArgs Members | System.WinForms Namespace | HelpEventArgs Constructor Overload List | ContextType | ControlId | Component | ContextId | MousePos