Vcl.Controls.MouseOriginToShiftState

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

Delphi

function MouseOriginToShiftState: TShiftState;

C++

extern DELPHI_PACKAGE System::Classes::TShiftState __fastcall MouseOriginToShiftState(void);

プロパティ

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


説明

メッセージがどのように発生したかを判断します。


MouseOriginToShiftState を呼び出すと、メッセージがどのように発生したか(マウス、タッチ、ペン)を判断することができます。タッチペンは、返される TShiftState にエンコードされます。

MouseOriginToShiftState を呼び出せるのは、マウス メッセージを処理しているときだけです。

関連項目