Re: Help command



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


.



Relevant Pages

  • Re: OT: GUI [was:]Ann: TeXCAD 4.1
    ... > say the above paragraph, I mark the above paragraph and then drag ... Emacs (on X Windows or MS Windows) doesn't have that same level of ... dynamic binding of commands to selection regions; ... you as a user can adjust the help file. ...
    (comp.lang.ada)
  • Re: CTRL+V not working in Report Editor
    ... specific place in your app? ... Take a look at PUSH MENU/POP MENU and SET SYSMENU SAVE in the help file. ... >> commands at some point in your application. ...
    (microsoft.public.fox.helpwanted)
  • Re: Change Case in 2007
    ... that page is moderatly helpful. ... to why they took out the ability to set a default directory in Publisher, ... Word 2003 commands were, and it will show you where they are now in 2007 ... the HELP file when I search on "Change Case"? ...
    (microsoft.public.word.docmanagement)
  • Installing a Help File in the Emulator
    ... I've created a Appname.htm help file for my application. ... I saw the postbuild commands, as well as the custom build commands, but no ... it does not install the help file. ... Remote file \WINDOWS\cemon.exe is up to date. ...
    (microsoft.public.windowsce.embedded.vc)
  • Installing a Help File in the Emulator
    ... I've created a Appname.htm help file for my application. ... I saw the postbuild commands, as well as the custom build commands, but no ... it does not install the help file. ... Remote file \WINDOWS\cemon.exe is up to date. ...
    (microsoft.public.pocketpc.developer)