Using Help with CF in Pocket PC applications

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi! I have been trying to implement Help in our app. HelpProvider component is not supported by .NET CF and I checked this URL
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k2/html/WinCEHelp.as
Then I also looked at the Help class provided by OpenNETCF but I am still not sure if I got it. Are there some sequence of steps that I should be following to use that class? For eg. how do I implement it in the solution/project; reference it in the forms; make it context sensitive and so on.
Can anyone enlighten me! :-
Thanks for your time
-Raj
 
The Help class in the SDF is a basic wrapper for creating a process for the
peghelp.exe help engine. It doesn't maintain context for you, you just call
Help.ShowHelp("myhelp.htm","topic1")
To open a specific named topic.

To make your help context sensitive you will need to decide under what
conditions you want particular topics displayed. For example you might have
a private string member which is used to store the topic name, then when
certain actions are taken you can update this as required.

To actually display the help from your form you can't use the Start - > Help
option directly (although it is possible by implementing a message filter
with the ApplicationEx object in the OpenNETCF SDF. Instead for .NETCF
applications it is common to place a button or menu item to access Help.
Then in the Click event for this object you call Help.ShowHelp with your
help document name and current topic.

Peter
 
Back
Top