RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TApplication.HelpCommand Method

Provides quick access to any of the Help commands in the WinHelp API (application programming interface).

Pascal
function HelpCommand(Command: Integer; Data: Longint): Boolean;
C++
__fastcall Boolean HelpCommand(int Command, Longint Data);

Use HelpCommand to send a command to WinHelp. Before sending the help command to the Windows help engine, HelpCommand generates an OnHelp event on the active form or on TApplication. Finally, the command is forwarded to WinHelp if there is no OnHelp event handler or if the OnHelp event handler indicates that WinHelp should be called.  

For information about Windows help commands and the data passed to them, see the WinHelp topic in the Windows Help system. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!