Sign in Join
FPDoc Onlineexperiment

KeyDataToShiftState function

In unit Forms

Converts modifier keys from the LParam in a keyboard message (WM_KEYUP for example) to a TShiftState value.

Declaration

pascal
function KeyDataToShiftState(KeyData: PtrInt): TShiftState

Arguments

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.