Converts modifier keys from the LParam in a keyboard message (WM_KEYUP for example) to a TShiftState value.
Source position: forms.pp line 1939
function KeyDataToShiftState( |
KeyData: PtrInt |
):TShiftState; |
KeyData |
|
PtrInt value with the address for the key data examined in the routine. |
Set type with the TShiftStateEnum values representing the specified KeyData.
Calls MsgKeyDataToShiftState in the lclintf.pas unit to get the TShiftState return value.
|
Converts modifier keys in the LParam for a mouse message to a TShiftState value. |
|
|
Converts a shift state into a key state value compatible with the key state of a Windows API LParam. |
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
TShiftState |
CT Web help |
CodeTyphon Studio |