[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'LCLType' (#lcl)

MK_MBUTTON

A key state constant to represent the middle mouse button, equivalent to ssMiddle from TShiftState.

Declaration

Source position: lcltype.pp line 2847

const MK_MBUTTON = $10;

See also

MK_Shift

  

A key state constant to represent the shift key, equivalent to ssShift from TShiftState.

MK_Control

  

A key state constant to represent the control key, equivalent to ssCtrl from TShiftState.

MK_LButton

  

A key state constant to represent the left mouse button, equivalent to ssLeft from TShiftState.

MK_RButton

  

A key state constant to represent the right mouse button, equivalent to ssRight from TShiftState.

MK_XBUTTON1

  

A key state constant to represent the first extra mouse button, equivalent to ssExtra1 from TShiftState.

MK_XBUTTON2

  

A key state constant to represent the second extra mouse button, equivalent to ssExtra2 from TShiftState.

TShiftState

ShiftStateToKeys

  

Converts a shift state into a key state value compatible with the key state of a Windows API LParam.

KeyDataToShiftState

  

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

ShiftStateToKeys

  

Converts a shift state into a key state value compatible with the key state of a Windows API LParam.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.