Hi guys
Being able to get help about the keyword under the cursor with just one keystroke makes developing much more easilier. Since I just found out how to do this (under WinXP) for chm-Helpfiles I decided to write this little tutorial.
Here are the steps:
1.) Get helpfile.eg. if you are using wxWidgets, get wxWidgets-2.8.0-CHM.zip from
here.
2.) Get and install keyhh.exeKeyHH allows you to open up a chm file and jump to a topic.
Get it
here (original website) or
here (non installer version).
3.) Setup CodeblocksOpen up Codeblocks, choose "Settings"->"Environment"->scroll down to "Help files".
click "Add" and type in a name for the helpfile.
click "OK", answer question
with "Yes", and choose your .chm file.
Now (back to the "Environment settings" dialog), change the input field showing the path of the helpfile as following:
keyhh -#klink $(keyword) path_to_helpfile
Make sure, that "This line represents a full command to be executed" is checked and (if you want) "This is the default help file (shortcut: F1)":
Now you should be able to open up the helpfile, by rightclicking a keyword and choosing "Locate in" or (if you checked "This is the default help file (shortcut: F1)") by simply pressing F1:
Hopefully someone will find this usefull.
Happy coding
raph