KeyDataToShiftState function
Converts modifier keys from the LParam in a keyboard message (WM_KEYUP for example) to a TShiftState value.
Declaration
function KeyDataToShiftState(KeyData: PtrInt): TShiftStateArguments
KeyData | PtrInt value with the address for the key data examined in the routine. |
Function result
Set type with the TShiftStateEnum values representing the specified KeyData.
Description
Calls MsgKeyDataToShiftState in the lclintf.pas unit to get the TShiftState return value.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
