Index of /xtras/_xtra_development/xdk_chm

Icon  Name                      Last modified      Size  Description
[PARENTDIR] Parent Directory - [DIR] dir10/ 2014-07-05 15:06 - [DIR] dir11/ 2011-12-21 15:48 - [   ] KeyHH.zip 2010-09-28 16:39 14K [TXT] readme.txt 2010-02-19 18:57 2.1K
Integrate into Visual Studio:

=============================



you can integrate the CHM into Visual C++ 2005 (and possibly also into other versions) as 

"External Tool":



Menu: Tools -> External Tool -> Button "Add"



Title: XDK (or "XDK Documentation", whatever you like)

Command: c:\windows\hh.exe

Arguments: "<full_path_to_xdk.chm>::/IndexContents.htm#$(CurText)"



Button "OK"





If you want you can also put a button for the "XDK documentation" into some toolbar:

Menu: Tools -> Customize -> Commands -> "Tools" -> drag "External Command <number of XDK CHM tool>" into any toolbar you like



from now on you can get context sensitive help for any currently selected key word (e.g. a 

MOA interface, method, ...), just by pressing on this new toolbar button while the word is 

selected in the code window.



Addendum:

=========



a drawback of the method described above is that every click on "XDK" toolbar button will open a new instance of the help, instead of just updating the displayed page in an exiting instance. This can easily be fixed by



1.) dowload KeyHH.zip (http://dasdeck.de/staff/valentin/xtras/xdk_chm/KeyHH.zip)



2.) unpack it and put the tiny tool "KeyHH.exe" e.g. in your windows folder

(Notice: this tool originates from http://keyworks.net/keyhh.htm, you can also download it from there, if you don't trust me, but the original version comes with an installer that's a bit crappy and not really needed)



3.) In VC++ 2005, go to the "External Tools" settings dialog, and change



Command: c:\windows\hh.exe

Arguments: "<full_path_to_xdk.chm>::/IndexContents.htm#$(CurText)"



to



Command: c:\windows\keyhh.exe

Arguments: -xdk "<full_path_to_xdk.chm>::/IndexContents.htm#$(CurText)"



that's it! from now on there will never be more than 1 instance of the xdk-chm, and repeatedly pressing the toolbar button will only update the displayed page.





View CHM on the Mac:

====================



a good CHM viewer for the mac is Chmox:

http://prdownloads.sourceforge.net/chmox/Chmox-0.4beta-i386_ppc.dmg