Vcl.Forms.KeyboardStateToShiftState
Delphi
function KeyboardStateToShiftState(const KeyboardState: TKeyboardState): TShiftState;
function KeyboardStateToShiftState: TShiftState; overload;
C++
extern DELPHI_PACKAGE System::Classes::TShiftState __fastcall KeyboardStateToShiftState(const Winapi::Windows::TKeyboardState &KeyboardState)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | Vcl.Forms |
説明
仮想キーの配列を TShiftState に変換します。
与えられた仮想キー配列の KeyboardState を TShiftState 型に変換します。この配列は、Windows の GetKeyboardState 関数によって取得できます。