On Thu, 17 Apr 2008 22:25:58 -0700, <aa*******@gmail.comwrote:
Thanks Pete...it solved my problem.
However, thrs another problem with this arrangement now. The control/
form which i pass in the ShowHelp method, seems to have become the
ownwer of the help file. i am not able to bring that form/control
infront of the help file. Any ideas how it can be done?
Hmmm...I dunno. How are you using the class? What's your exact OS and
..NET version? Have you tried it on any other?
I don't have that issue, but I admit I haven't done a lot of testing on
different platforms. I can tell you that calling Help.ShowHelp() with my
main form as the parent works fine for me. The help window shows up,
hosted in my process, and it's non-modal (i.e. I can still use my main
form).
That's using .NET 2.0 on XP SP2.
I haven't used the Help class enough to say what might explain the
difference. But maybe there's a way to affect whether the help is
displayed modally or not. I played with some of the settings in HTML Help
Workshop and wasn't able to reproduce the modal behavior. But maybe
there's something in the CHM file that's controlling that.
I'm not an expert on implementing help files, so I can't really say. I
can assure you that in at least some cases, it's possible to show the help
modelessly. :)
Pete