System.HelpIntfs.IHelpSystem.Hook

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function Hook(Handle: THandle; const HelpFile: string; Comand: Word; Data: NativeInt): Boolean;

C++

virtual bool __fastcall Hook(NativeUInt Handle, const System::UnicodeString HelpFile, System::Word Comand, NativeInt Data) = 0 ;

プロパティ

種類 可視性 ソース ユニット
function public
System.HelpIntfs.pas
System.HelpIntfs.hpp
System.HelpIntfs IHelpSystem

説明

WinHelp 形式のヘルプリクエストを処理します。

Hook は,Microsoft Windows の WinHelp API と同じ規約を使用するヘルプリクエストを受け入れます。Hook は,ShowContextHelpShowHelpShowTableOfContents,または ShowTopicHelp の呼び出しに置き換えることができない要求の場合にのみ呼び出してください。

メモ:  ヘルプシステムがヘルプリクエストを復号できない場合,ヘルプシステムは ISpecialWinHelpViewer を実装しているビューアを検索します。アプリケーションにそのようなビューアが登録されている場合,ビューアがそのリクエストを処理できれば,要求は成功します。そうでない場合は,要求は失敗します。