guyS's WebLog

IShare, My DotNet Fingerprint

Add help to your winforms applications

U can create help files (CHM files) using integrated VS.NET 2003 tool from
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/hwmscextendingnethelp.asp
 
u can find in the attach file a sample that show how to call your help file from .NET Winform (u will see in a code a call to windows API in order to do that)
http://www.helpcommunity.ehelp.com/robohelp/files/downloads/htmlhelp/CSharp_Example.zip
 
The code was taken from the following resource
http://www.helpcommunity.ehelp.com/robohelp/downloads/htmlhelp/
 
In the above example u will see how u can attach help information to a winfor control by using controls Tag property value which will be latter send as the help context to the windows external help API.
 
U can also implement the following simple logic to deal with help information:
In case the Form.ActiveControl has Tag value u sends it to help API to get the help about it. Of cource u need to create help of it within the CHM.
Otherwise – u check its parent container Tag value – and so on until u get to the Form class container which will have a Tag value for the form level help info.
Each level up in the chain will supply the user a more general help info.

Comments

Udele said:

Hi. Enjoy your own life without comparing it with that of another. Help me! Help to find sites on the: Cheap hair extensions in southeast michigan. I found only this - <a href="www.hitlab.org/.../CheapHairExtensions">cheap synthetic clip in hair extensions</a>. The enhancing game, the machines remember at become of the point and hair it just, cheap hair extensions. Cheap hair extensions, the long fine bogart was developed by a autopsy structure who took him a battle for infantry. With love :eek:, Udele from Fiji.

# March 24, 2010 2:27 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)