Context-sensitive help for controls

  • Thread starter Thread starter Yash
  • Start date Start date
Y

Yash

Is it possible to display context-sensitive help from a .chm or .hlp
file on a .NET win forms application?

We want to associate UI controls with placeholders from the chm or hlp
file so that if a user invokes the "help" button and then clicks on a
control, the help specific to the control is displayed in a floating
rectangle.

Does .NET provide built-in support for this?

Thanks,
Yash
 
Yash said:
Is it possible to display context-sensitive help from a .chm or .hlp
file on a .NET win forms application?

Yes, take a look at the HelpProvider component.
 
HelpProvider opens the CHM file. I want to show the help associated
with the control like a tooltip. The help text will not be hardcode in
the program but will come from an existing CHM/HLP file.
I should be able to do something like
ContextHelp.AddHelp(txtBox1,4000) where 4000 is the ID of some help
text present in the CHM or HLP file.
 
Back
Top