IonicWind Software

IWBasic => General Questions => Topic started by: Logman on March 18, 2009, 11:11:10 AM

Title: CHM & HLP File Associations in EBasic
Post by: Logman on March 18, 2009, 11:11:10 AM
Greetings:

Can someone point me in the right direction on this two-part question?

First, when I build a menu for my windows programs, what is the best way of associating a CHM or HLP file compiled with the MS Help Compiler. That is, how do I actually bring up a CHM/HLP in my program? Does EBasic have a method for associating CHM/HLP files with a program or must I use Win32 API functions to create pop-up dialog boxes or child windows when the F1 key or help menu item is selected by the user?

Second, I find that programs that allow you to place the cursor on a keyword and then press the F1 key to open the help file to the correct location is extremely helpful. Is this something that can be done in EBasic in a straight forward manner or is this capability endemic to the Help File Maker?

Logman
Title: Re: CHM & HLP File Associations in EBasic
Post by: mrainey on March 19, 2009, 04:59:33 AM
I just use this in response to a menu pick or button click.

System GetStartPath + "Filename.chm"
Title: Re: CHM & HLP File Associations in EBasic
Post by: LarryMc on March 19, 2009, 07:28:49 AM
Look at Sapero's windows.inc files for the htmlhelp.inc file


Larry
Title: Re: CHM & HLP File Associations in EBasic
Post by: Logman on March 20, 2009, 05:58:15 AM
Okay, great.  :)

Logman