Converts a shift state into a key state value compatible with the key state of a Windows API LParam.
Source position: forms.pp line 1941
function ShiftStateToKeys( |
ShiftState: TShiftState |
):PtrUInt; |
ShiftState |
|
Set type with the TShiftStateEnum values examined in the routine. |
PtrUInt type with the address for the value representing the specified ShiftState enumeration values.
The return value is a PtrUInt type and contains an OR'ed combination of the following constants:
TShiftState |
||
|
Converts modifier keys in the LParam for a mouse message to a TShiftState value. |
|
|
Converts modifier keys from the LParam in a keyboard message (WM_KEYUP for example) to a TShiftState value. |
|
|
||
|
||
|
||
|
||
|
||
|
||
|
CT Web help |
CodeTyphon Studio |