[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Converts a shift state into a key state value compatible with the key state of a Windows API LParam.
Source position: forms.pp line 1846
function ShiftStateToKeys( |
ShiftState: TShiftState |
):PtrUInt; |
The return value is a PtrUInt type and contains an OR'ed combination of the following constants:
TShiftState |
||
|
Converts modifier keys in the LParam of a mouse message to a TShiftState value. |
|
|
Converts modifier keys from the LParam keyboard message (WM_KEYUP for example) to a TShiftState. |
|
|
A key state constant to represent the shift key, equivalent to ssShift from TShiftState. |
|
|
A key state constant to represent the control key, equivalent to ssCtrl from TShiftState. |
|
|
A key state constant to represent the left mouse button, equivalent to ssLeft from TShiftState. |
|
|
A key state constant to represent the right mouse button, equivalent to ssRight from TShiftState. |
|
|
A key state constant to represent the middle mouse button, equivalent to ssMiddle from TShiftState. |
|
|
A key state constant to represent the first extra mouse button, equivalent to ssExtra1 from TShiftState. |
|
|
A key state constant to represent the second extra mouse button, equivalent to ssExtra2 from TShiftState. |