AppCommandEvent Properties |
The AppCommandEvent type exposes the following members.
Name | Description | |
---|---|---|
Command |
The command associated with this event.
| |
Handle |
The pointer to the window where the event occurred
(Inherited from Event.) | |
IsControl |
Returns TRUE if the Control Key is down; otherwise, FALSE.
| |
IsDeviceKey |
Returns TRUE if the device that issued the command was a keyboard; otherwise, FALSE.
| |
IsDeviceMouse |
Returns TRUE if the device that issued the command was a mouse; otherwise, FALSE.
| |
IsDeviceOEM |
Returns TRUE if the device that issued the command was an OEM device; otherwise, FALSE.
| |
IsLeftButton |
Returns TRUE if the Left mouse button is down; otherwise, FALSE.
| |
IsMiddleButton |
Returns TRUE if the Middle mouse button is down; otherwise, FALSE.
| |
IsRightButton |
Returns TRUE if the Right mouse button is down; otherwise, FALSE.
| |
IsShift |
Returns TRUE if the Shift Key is down; otherwise, FALSE.
| |
IsXButton1 |
Returns TRUE if the first X mouse button is down; otherwise, FALSE.
| |
IsXButton2 |
Returns TRUE if the second X mouse button is down; otherwise, FALSE.
| |
Message |
A dword representing the Windows API message associated with the given event.
(Inherited from Event.) | |
oTarget |
Returns the target of the command.
If it is a Key event the target is focused control or window. If it is a Mouse event the target is the control or window that is under the mouse pointer.
| |
Window |
An object indicating the window or control in which the event occurred. This is helpful, for example, for distinguishing between similar menu events coming from the same context menu attached to different controls.
(Inherited from Event.) |