private static int AccessibleObjectFromWindow(IntPtr hWnd, OBJID idObject, ref IAccessible acc) { Guid guid = new Guid("{618736e0-3c3d-11cf-810c-00aa00389b71}"); // IAccessible object obj = null; int num = AccessibleObjectFromWindow(hWnd, (uint)idObject, ref guid, ref obj); acc = (IAccessible)obj; return num; }
private static int AccessibleObjectFromWindow(IntPtr hWnd, OBJID idObject, ref IAccessible acc) { Guid guid = new Guid("{618736e0-3c3d-11cf-810c-00aa00389b71}"); // IAccessible object obj = null; int num = AccessibleObjectFromWindow(hWnd, (uint)idObject, ref guid, ref obj); acc = (IAccessible)obj; return(num); }
public static extern bool GetScrollBarInfo(HWND hwnd, OBJID idObject, ref SCROLLBARINFO psbi);
public static extern void NotifyWinEvent(EVENT eventId, IntPtr hWnd, OBJID objId, OBJID childId);
public static extern bool GetScrollBarInfo(HWND hwnd, OBJID idObject, ref SCROLLBARINFO psbi);