Re: Help command
- From: "anthony" <ajh@xxxxxxxxxxx>
- Date: Tue, 30 Aug 2005 09:29:33 +1200
Thanks Rob, I stand told off,
"Rob Kennedy" <me3@xxxxxxxxxxx> wrote in message
news:3nfc02F17l1hU1@xxxxxxxxxxxxxxxxx
> anthony wrote:
> > The help file tells me this
> >
> > Application.HelpFile := 'myhelp.hlp';
> > Application.HelpCommand(HELP_FINDER, 0);
> >
> > but how do I change it to open a contents page in my help file
> >
> > if I change the HELP_FINDER to Contents, I get an error
>
> Well, that's what you get for pulling commands out of thin air. The help
> for the HelpCommand method says this: "For information about Windows
> help commands and the data passed to them, see the WinHelp topic in the
> Windows Help system."
>
> WinHelp is an API function, so find it in the Windows API help. I use
> MSDN for that:
>
>
http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/fun
ctions/winhelp.asp
>
> There we see a list of valid commands, and among them is one named
> Help_Contents, which has these details:
>
> "Displays the topic specified by the Contents option in the [OPTIONS]
> section of the .hpj file. This command is for backward compatibility.
> New applications should provide a .cnt file and use the HELP_FINDER
> command."
>
> --
> Rob
.
- References:
- Help command
- From: anthony
- Re: Help command
- From: Rob Kennedy
- Help command
- Prev by Date: Re: Streams
- Next by Date: Re: Streams
- Previous by thread: Re: Help command
- Next by thread: Help with date in url
- Index(es):
Relevant Pages
|