Context-sensitive help for controls

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
 
H

Herfried K. Wagner [MVP]

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.
 
Y

Yash

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top