Vcl.Controls.MouseOriginToShiftState
Delphi
function MouseOriginToShiftState: TShiftState;
C++
extern DELPHI_PACKAGE System::Classes::TShiftState __fastcall MouseOriginToShiftState(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | Vcl.Controls |
Description
Determines the origin of the message.
Call MouseOriginToShiftState to determine the origin (mouse, touch or pen) of the message. Touch or pen are encoded into the returned TShiftState.
MouseOriginToShiftState can only be called when handling a mouse message.