JVCL Help:GET KEYSTATE LPARAM

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Retrieves the state of certain virtual keys from the specified LPARAM value.

run\JvAppCommand.pas


Pascal

 run\JvAppCommand.pas
 functionGET_KEYSTATE_LPARAM(lParam: LPARAM): WORD;


Parameters

Parameters Description
lParam: LPARAM Specifies the value to be converted.

run\JvAppCommand.pas


Description

The return value is the low-order word representing the virtual key state. It can be one of the following values.

MK_CONTROL The Ctrl key is down.
MK_LBUTTON The left mouse button is down.
MK_MBUTTON The middle mouse button is down.
MK_RBUTTON The right mouse button is down.
MK_SHIFT The Shift key is down.
MK_XBUTTON1 The first X button is down.
MK_XBUTTON2 The second X button is down.


This function is identical to the GET_FLAGS_LPARAM function. This function is a converted macro.

run\JvAppCommand.pas


See Also

GET_APPCOMMAND_LPARAM

run\JvAppCommand.pas


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page