Accessible Event Watcher

[This is preliminary documentation and subject to change.]

The simple Accessible Event Watcher (Accevent.exe) application logs the following types of events as they occur within the system.

Event Type Event Name
Creation or Destruction EVENT_OBJECT_CREATE, EVENT_OBJECT_DESTROY
Location EVENT_OBJECT_REORDER, EVENT_OBJECT_PARENTCHANGE, EVENT_OBJECT_LOCATIONCHANGE
State EVENT_OBJECT_STATECHANGE, EVENT_OBJECT_SHOW, EVENT_OBJECT_HIDE
Focus or Selection EVENT_OBJECT_FOCUS, EVENT_OBJECT_SELECTION, EVENT_OBJECT_SELECTIONADD, EVENT_OBJECT_SELECTIONREMOVE, EVENT_OBJECT_SELECTIONWITHIN
Description EVENT_OBJECT_NAMECHANGE, EVENT_OBJECT_VALUECHANGE, EVENT_OBJECT_DESCRIPTIONCHANGE
Other EVENT_OBJECT_HELPCHANGE, EVENT_OBJECT_DEFACTIONCHANGE, and others
Caret For caret object events
Cursor For cursor object events
Mode For modality events (like EVENT_SYSTEM_MOVESIZESTART, EVENT_SYSTEM_MOVESIZEEND, and others)

Warning Do not use this sample while the OACSpy application is spying on event notifications. If both applications are active, they will log each other's events, generating events in the process. This causes an endless loop.