How to Retrieve Text under the Mouse Pointer using MSAA


Raymond Chen has a post with sample code on How to Retrieve Text under the cursor (mouse pointer) using MSAA.  The code sample include how to call AccessibleObjectFromPoint, IAccessible::get_accName, and IAccessible::get_accValue

Comments (2)

  1. Qumer says:

    Hi Sara

    Is there a C# version of this code?

  2. Mansour says:

    I have searched anywhere for this code and I have applied almost all of the API Functions but I couldn’t retrieve text under the mouse .

    If you have this code , please send for me that .

    Thanks .