Implementing User AssistanceOnce you have created your help files, you must then make this information available in your application. User assistance has many elements, including the following:
Within your .NET application are three main ways in which you can provide integrated user assistance:
The HelpProvider ComponentThe HelpProvider component can be used to link your application and an associated Help file. By placing a HelpProvider component on your form, it extends other objects on the form to include help- related properties. The extended properties will automatically appear in the Properties list for the form and its controls, which may be accessed using the ShowHelp and ShowHelpIndex methods . The HelpNamespace property of the HelpProvider component specifies the Help file or target URL to use, whereas the NelpNavigator and HelpKeyword properties specify the information to show from the file. Table 10.1 displays the possible values for the HelpNavigator property. Table 10.1. Values of the HelpProvider.HelpNavigator Property
Pop-Up HelpSometimes opening a full Help browser window isn't the best solution. For example, the user may be carrying out a simple, focused task in a dialog box. In this case, switching to another window for help isn't a good idea. Pop-up help may be used to display focused help information, without opening a separate Help window. After placing a HelpProvider control on your form, you can provide pop-up help by entering text within the HelpString property for each control. Clicking the Help button on the form's toolbar and then clicking a control will display the HelpString text for that control.
The ToolTip ComponentAnother useful component that extends the properties of the controls on your form is the ToolTip component. By placing a ToolTip component on your form, you may provide a short text string for each control that will be displayed when users hover their cursor over the control. The four properties you can configure to control the timing (in milliseconds ) of a ToolTip display are as follows :
|