Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
1` DF
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "AccessibleObjectFromEvent" in [All]

oleacc

.
Summary
The AccessibleObjectFromEvent function retrieves the address of the IAccessible interface for the object that generated the event. The event is the one that the client's event hook function is currently processing.
.

public static extern uint AccessibleObjectFromEvent( IntPtr hwnd, uint dwObjectID, uint dwChildID, out IAccessible ppacc, [MarshalAs(UnmanagedType.Struct)] out object pvarChild);

.

Declare Function AccessibleObjectFromEvent Lib "oleacc.dll" (TODO) As TODO

.

        AccessibleObjectFromEvent(hwnd, 0, 0, out accWindow, out objChild);

.

    private static extern uint AccessibleObjectFromEvent(IntPtr hwnd, uint dwObjectID, uint dwChildID,

.
Documentation
[AccessibleObjectFromEvent] on MSDN

Enums

.

    /// Applications never send this message directly. It is sent only by Active Accessibility in response to calls to AccessibleObjectFromPoint, AccessibleObjectFromEvent, or AccessibleObjectFromWindow. However, server applications handle this message.

.

    '''Active Accessibility sends the WM_GETOBJECT message to obtain information about an accessible object contained in a server application. Applications never send this message directly. It is sent only by Active Accessibility in response to calls to AccessibleObjectFromPoint AccessibleObjectFromEvent or AccessibleObjectFromWindow. However server applications handle this message.

Constants

3: WM
.
WM_GETOBJECT 0x3D Active Accessibility sends the WM_GETOBJECT message to obtain information about an accessible object contained in a server application. Applications never send this message directly. It is sent only by Active Accessibility in response to calls to AccessibleObjectFromPoint, AccessibleObjectFromEvent, or AccessibleObjectFromWindow. However, server applications handle this message.

 
Access PInvoke.net directly from VS: