Listening to System Events

Listening to System Events

Overview of listening to system events.

Applications can listen to system events by using the InkCollector object and listening for the SystemGesture event on it. You can set which events an application listens to. When a tablet pen action occurs, the corresponding SystemGesture event is sent to the application on its InkCollector object. An application can cancel the mouse message that corresponds to a given SystemGesture event when it receives the event. For details about canceling mouse messages, see SystemGesture event.