Vcl.Forms.KeyboardStateToShiftState

From RAD Studio API Documentation
Jump to: navigation, search

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 */;

Properties

Type Visibility Source Unit Parent
function public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms Vcl.Forms

Description

Convert array of virtual keys to TShiftState.

Convert the given array of virtual keys KeyboardState to a TShiftState type. This array can be provided by the Windows function GetKeyboardState.

See Also