OACSpy Applet
[This is preliminary documentation and subject to change.]
With the OACSpy applet (OACSpy.exe), you can verify that a 32-bit application supports Active Accessibility in Windows 95 (previously known as OleACcessibility).
OACSpy verifies that an application supports WM_GETOBJECT and NotifyWinEvent.
Follow these steps to use OACSpy to test selection change and notifications:
-
Run OACSpy.exe.
-
Activate the Spy menu and choose the Selection Notification command to display the Selection Notification dialog box.
-
OACSpy displays detailed Active Accessibility information given any keyboard, focus, selection, or other notifications that the active application generates (even those that the system creates on the application's behalf).
Follow these steps to check if an application is responding correctly to the WM_GETOBJECT message:
-
Activate the Spy menu and choose the Windows command to invoke the Windows dialog box.
-
When the list of open windows appears, choose the one of interest to see its child windows.
-
Any window that supports the WM_GETOBJECT message has "OAC" as its class. The second list box shows details about the window. Additionally, you can place the cursor over any object outside OACSpy, and the OAC information under the cursor will be displayed.
Warning Do not use this sample to spy on event notifications while the Accevent.exe application is running and active. If both applications are active, they will log each other's events, generating events in the process. This causes an endless loop.