int GetKeyPressEventModifiers (int eventData2);
Call this function when you receive an EVENT_KEYPRESS in a panel or control callback to get the modifier keys that were pressed.
Input | ||
Name | Type | Description |
eventData2 | int | The panel or control callback's eventData2 parameter. |
Name | Type | Description |
modifiers | int | The modifier keys if the EVENT_KEYPRESS event contains any modifier keys. If the event does not contain any modifier keys, this value is 0. This function can return the following modifiers:
|