Microsoft KB Archive/182818

{|
 * width="100%"|

INFO: Processing the MSAA OBJECT_DESTROY Event

 * }

Q182818

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK), on platform(s):
 * the operating system: Microsoft Windows NT
 * Microsoft Windows 98
 * Microsoft Windows 95

-

SUMMARY
When processing event notifications in an Microsoft Active Accessibility (MSAA) client, the client should not query the object properties during the EVENT_OBJECT_DESTROY event.

MORE INFORMATION
EVENT_OBJECT_DESTROY notifies an MSAA client that an object is being or was recently destroyed. Depending upon the type of object generating this event, querying the object for its MSAA properties may or may not produce valid results. Because of the uncertainty involved, it is recommended that a client not attempt to query objects being destroyed, or do so sparingly.

The information in this article applies specifically to Windows NT 4.0 Service Pack 3 and later versions as well as Windows 95.