Making Windows HtmlHelp API call

Trevor DeVore lists at mangomultimedia.com
Tue Oct 7 21:17:01 EDT 2003


On Tuesday, October 7, 2003, at 07:23  PM, Monte Goulding wrote:
>>> Nah... just a two liner:
>>> set the hideConsoleWindows to true
>>> get shell("start "&quote&quote&&quote&Helpfile.chm&quote)
>>
>> Monte,
>>
>> I forgot to explain that the help file needs to be called this way in
>> order for different executables to share the same help file.  That is
>> why the HtmlHelp API must be used rather than just opening the help
>> file using shell.
>>
>
> Do you mean at the same time? It seems odd either way. Opening a file 
> is
> opening a file whichever way you look at it. Have you tested it?

Yes.  There is one help file that is shared among 4-5 applications.  
Any/all of these apps could be open at the same time.  When calling the 
help file, each application must be able to tell the help file where to 
start within the file.  App A needs to start on the start page for App 
A, App B on the start page for App B.

If App A opens the help file and then the user opens App B and clicks 
on help then the already open help file needs to navigate to the start 
page for App B.  Does this make sense?

I haven't done tests on this myself, this were the instructions 
provided to me by my client.  I asked about other methods but this is 
the way they said it had to be done.  They know Windows inside and out 
so I'm pretty sure this is how it has to be done to accomplish the 
desired behavior.

-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com




More information about the Use-livecode mailing list