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!

HelpProvider Class

Provides pop-up or online Help for controls.

Object
   Component
      HelpProvider

[Visual Basic]
Public Class HelpProvider
   Inherits Component
   Implements IExtenderProvider
[C#]
public class HelpProvider : Component, IExtenderProvider
[C++]
public __gc class HelpProvider : public Component,
   IExtenderProvider
[JScript]
public class HelpProvider extends Component, IExtenderProvider

Remarks

If HelpFile has not been set for this class, you can only use pop-up help.

To associate a Help file (either HTMLHelp or Win32 Help) with the HelpProvider object, use the System.WinForms.HelpProvider.SetHelpFile method. To associate topics in the specified file with specific controls, make successive calls to the SetHelpTopic method. The Help file that you specify for this method typically becomes available to the user when the user clicks the question mark icon that appears in the caption bar of any dialog boxes.

Optionally, to associate a specific Help string with a control, use the SetHelpString method. The string that you associate with a control using this method is displayed in a pop-up window when the user presses the F1 key while the control has focus.

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

HelpProvider Members | System.WinForms Namespace