Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than oleacc, prefix the name with the module name and a period.
AccessibleObjectFromPoint (oleacc)
.
C# Signature:
[DllImport("oleacc.dll")]
public static extern IntPtr AccessibleObjectFromPoint(POINT pt, [Out, MarshalAs(UnmanagedType.Interface)] out IAccessible accObj, [Out] out object ChildID);
VB Signature:
<DllImport("oleacc.dll")> _
Shared Function AccessibleObjectFromPoint(ByVal pt As Point, <MarshalAs(UnmanagedType.Interface)> ByRef accObj As IAccessible, ByRef ChildID As Object) As IntPtr
End Function
This function retrieves the lowest-level accessible object in the object hierarchy at a given point in screen coordinates where (0, 0) is the upper left corner. If the element at the point is not an accessible object (that is, does not support IAccessible), then the function retrieves the IAccessible interface of the parent object. The parent object must provide information about the child element through the IAccessible interface.
Tips & Tricks:
Please add some!
Sample Code:
public static IAccessible GetAccessibleObject(POINT pt, out int ChildID)
{
object varChildID;
IAccessible accObj;
IntPtr success = AccessibleObjectFromPoint(pt, out accObj, out varChildID);
ChildID = (int)varChildID;
return accObj;
}
The AccessibleObjectFromPoint function retrieves the address of the IAccessible interface pointer for the object at a specified point on the screen.
7/8/2008 11:50:52 AM - -200.67.139.59
The IAccessible interface is the heart of Microsoft Active Accessibility. Applications implement this Component Object Model (COM) interface to represent their custom user interface elements, which can include their client area as accessible objects, if necessary. Client applications call IAccessible methods and properties to obtain information about an application's user interface and data.
3/16/2007 8:09:04 AM - -67.160.73.91
http://mwinapi.sourceforge.net/
3/31/2008 6:53:29 AM - -217.54.254.83
TODO - a short description
1/10/2008 11:01:52 PM - anonymous
The IAccessible interface is the heart of Microsoft Active Accessibility. Applications implement this Component Object Model (COM) interface to represent their custom user interface elements, which can include their client area as accessible objects, if necessary. Client applications call IAccessible methods and properties to obtain information about an application's user interface and data.
3/16/2007 8:09:04 AM - -67.160.73.91
The IAccessible interface is the heart of Microsoft Active Accessibility. Applications implement this Component Object Model (COM) interface to represent their custom user interface elements, which can include their client area as accessible objects, if necessary. Client applications call IAccessible methods and properties to obtain information about an application's user interface and data.
3/16/2007 8:09:04 AM - -67.160.73.91
The IAccessible interface is the heart of Microsoft Active Accessibility. Applications implement this Component Object Model (COM) interface to represent their custom user interface elements, which can include their client area as accessible objects, if necessary. Client applications call IAccessible methods and properties to obtain information about an application's user interface and data.
3/16/2007 8:09:04 AM - -67.160.73.91
The AccessibleObjectFromPoint function retrieves the address of the IAccessible interface pointer for the object at a specified point on the screen.
7/8/2008 11:50:52 AM - -200.67.139.59
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).