Desktop Event component: allows for the trapping of keyboard and mouse events from any Windows application running on the desktop. This provides a kind of global event handler that listens to all programs running on the machine.
Product: Synopsis 2.0
Desktop Event Component
Component Tray Tab: Application
Usage
The Desktop Event component allows for the trapping of keyboard and mouse events from any
Windows application running on the desktop. This provides a kind of global event handler
that listens to all programs running on the machine.
The events trapped by the Desktop Event component can be handled by the
Windows Event and Windows Event Callback components.
Properties
Property
Details
Active service
The component service to invoke.
Services
Service
Details
Consume events
Set the consume trapped events status. If events are consumed then
once they are handled they are removed from the Windows event queue so that they are
no longer available to other applications. By default, trapped events are not consumed.
Argument
Description
Input
0
Consume events
Consume trapped events status. Either TRUE or FALSE.
Ignore app events
Set the ignore trapped events from application status. If this property is set to TRUE
then events generated by the Synopsis-generated application are ignored
and only events from other applications on the desktop are trapped.
If this property is set to FALSE then events from all applications on the desktop are trapped.
Argument
Description
Input
0
Ignore app events
Ignore trapped events from the Synopsis-generated application. Either TRUE or FALSE.
Set mouse events
Set the mouse events to trap.
Argument
Description
Input
0
Trap mouse move
Trap mouse move events
1
Trap mouse left
Trap mouse left button events
2
Trap mouse right
Trap mouse right button events
3
Trap mouse wheel
Trap mouse wheel events
Start key hook
Start keyboard hook. This causes keyboard events to be trapped by the
Windows Event and Windows Event Callback components.
Argument
Description
Output
0
Succeeded
Operation succeeded: TRUE or FALSE
Start mouse hook
Start mouse hook. This causes mouse events to be trapped by the
Windows Event and Windows Event Callback components.