Vcl.Controls.SendAppMessage

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

Delphi

function SendAppMessage(Msg: Cardinal; WParam: WPARAM; LParam: LPARAM): LRESULT;

C++

extern DELPHI_PACKAGE NativeInt __fastcall SendAppMessage(unsigned Msg, NativeUInt WParam, NativeInt LParam);

プロパティ

種類 可視性 ソース ユニット
function public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls Vcl.Controls

説明

アプリケーションに Windows メッセージを送信します。

SendAppMessage 関数を呼び出すと,Windows メッセージをグローバルなアプリケーションオブジェクトに送信できます。

Msg は,Windows メッセージコードを表します。

WParam は,メッセージの WParam を表します。その解釈は,Msg の値に依存します。

LParam は,メッセージの LParam を表します。その解釈は,Msg の値に依存します。

SendAppMessage は,アプリケーションのウィンドウプロシージャによって提供される結果を返します。アプリケーションがメッセージを処理しなかった場合,SendAppMessage は 0 を返します。

関連項目