JVCL Help:GET KEYSTATE LPARAM
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: GET_KEYSTATE_LPARAM function
[+] JvAppCommand.pas Functions
Search in JVCL Help
Search in all projectsSummary
Retrieves the state of certain virtual keys from the specified LPARAM value.
Pascal
run\JvAppCommand.pas
functionGET_KEYSTATE_LPARAM(lParam: LPARAM): WORD;
Parameters
Parameters | Description |
lParam: LPARAM | Specifies the value to be converted. |
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.
See Also
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