[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework

How to add context-sensitive help for controls?

Yash Ganthe

9/19/2008 11:35:00 AM

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?
HelpProvider opens the CHM file. Instead 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.

Thanks,
Yash
1 Answer

Jibesh

10/4/2008 8:36:00 PM

0

Yash,

try this link and scroll to last part it will answer all your queries

http://functionx.com/vcsharp2003/topics/onli...

Thanks
Jibesh

"Yash" <yashgt@gmail.com> wrote in message
news:764089b8-b612-4edf-8ffb-589308dd6860@s9g2000prg.googlegroups.com...
> 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?
> HelpProvider opens the CHM file. Instead 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.
>
> Thanks,
> Yash