Click or drag to resize

AppCommandEvent Class

X#
Provide information about an AppCommand event, which is launched by the extra keys on an extended keyboard or mouse.
Inheritance Hierarchy
Object
  Event
    AppCommandEvent

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 CLASS AppCommandEvent INHERIT Event
Request Example View Source

The AppCommandEvent type exposes the following members.

Constructors
  NameDescription
Public methodAppCommandEvent
Initializes a new instance of the AppCommandEvent class
Top
Properties
  NameDescription
Public propertyCommand
The command associated with this event.
Public propertyHandle
The pointer to the window where the event occurred
(Inherited from Event.)
Public propertyIsControl
Returns TRUE if the Control Key is down; otherwise, FALSE.
Public propertyIsDeviceKey
Returns TRUE if the device that issued the command was a keyboard; otherwise, FALSE.
Public propertyIsDeviceMouse
Returns TRUE if the device that issued the command was a mouse; otherwise, FALSE.
Public propertyIsDeviceOEM
Returns TRUE if the device that issued the command was an OEM device; otherwise, FALSE.
Public propertyIsLeftButton
Returns TRUE if the Left mouse button is down; otherwise, FALSE.
Public propertyIsMiddleButton
Returns TRUE if the Middle mouse button is down; otherwise, FALSE.
Public propertyIsRightButton
Returns TRUE if the Right mouse button is down; otherwise, FALSE.
Public propertyIsShift
Returns TRUE if the Shift Key is down; otherwise, FALSE.
Public propertyIsXButton1
Returns TRUE if the first X mouse button is down; otherwise, FALSE.
Public propertyIsXButton2
Returns TRUE if the second X mouse button is down; otherwise, FALSE.
Public propertyMessage
A dword representing the Windows API message associated with the given event.
(Inherited from Event.)
Public propertyoTarget
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.
Public propertyWindow
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.)
Top
Fields
  NameDescription
Public fieldhWnd (Inherited from Event.)
Public fieldlParam (Inherited from Event.)
Public fieldoWindow (Inherited from Event.)
Public fielduMsg (Inherited from Event.)
Public fieldwParam (Inherited from Event.)
Top
Remarks
The AppCommandEvent class is created by X# in responce to the activation of a key on an Extended keyboard or mouse.
See Also

Reference