I don't know if you can pass the HH_HELP_CONTEXT and nJumpToTopic arguments from the command line; if you can, then Monte's suggestion (with a couple of additional params) would work just fine. If not, you might need to write an external or call on a VB app to do it for you.
Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Monte Goulding > Sent: Tuesday, October 07, 2003 7:41 PM > To: [EMAIL PROTECTED] > Subject: RE: Making Windows HtmlHelp API call > > > > > Hi, > > > > I am finishing an app (Windows only) which will be integrated with > > some > > other applications that are not made in Revolution. The other > > applications all share the same help file and ideally my > Revolution app > > will as well. I was told that in order to do this I will > need to make > > an API call to HtmlHelp: > > > > HtmlHelp( hRevAppWindowHandle, "HelpFile.chm", HH_HELP_CONTEXT, > > nJumpToTopic ); > > > > hRevAppWindowHandle = handle to the main window in Rev app. > > "HelpFile.chm" = path to the help file. HH_HELP_CONTEXT = > defined as > > 0x000F in the htmlhelp.h file from the Microsoft Platform SDK. The > > HtmlHelp function does different things depending on this > argument. > > This argument tells it to launch to a particular page > specified by the > > last argument. nJumpToTopic = This is the ID of the topic > you want to > > jump to. > > > > Is this something I would have to have an external for if I > wanted to > > do it in my Revolution app? > > > > Nah... just a two liner: > set the hideConsoleWindows to true > get shell("start ""e"e&"e&Helpfile.chm"e) > > Cheers > > Monte > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
