17 references to GetAncestor
UIAutomationClientsideProviders (17)
MS\Internal\AutomationProxies\Misc.cs (3)
520
IntPtr hwndParent = NativeMethodsSetLastError.
GetAncestor
(hwnd, NativeMethods.GA_PARENT);
771
hwnd = NativeMethodsSetLastError.
GetAncestor
(hwnd, NativeMethods.GA_PARENT);
891
hwnd = NativeMethodsSetLastError.
GetAncestor
(hwnd, NativeMethods.GA_PARENT);
MS\Internal\AutomationProxies\WindowsComboBox.cs (3)
525
IntPtr hwndEx = NativeMethodsSetLastError.
GetAncestor
(hwnd, NativeMethods.GA_PARENT);
553
if (cbInfo.hwndItem == IntPtr.Zero && IsComboEx (NativeMethodsSetLastError.
GetAncestor
(hwnd, NativeMethods.GA_PARENT)))
810
IntPtr hwndCombo = NativeMethodsSetLastError.
GetAncestor
(hwnd, NativeMethods.GA_PARENT);
MS\Internal\AutomationProxies\WindowsEditBox.cs (5)
123
IntPtr hwndParent = NativeMethodsSetLastError.
GetAncestor
(hwnd, NativeMethods.GA_PARENT);
954
IntPtr hwndParent = NativeMethodsSetLastError.
GetAncestor
(_hwnd, NativeMethods.GA_PARENT);
974
IntPtr hwndParent = NativeMethodsSetLastError.
GetAncestor
(_hwnd, NativeMethods.GA_PARENT);
990
IntPtr hwndParent = NativeMethodsSetLastError.
GetAncestor
(hwnd, NativeMethods.GA_PARENT);
1006
IntPtr hwndParent = NativeMethodsSetLastError.
GetAncestor
(hwnd, NativeMethods.GA_PARENT);
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
723
IntPtr hwndParent = NativeMethodsSetLastError.
GetAncestor
(_hwnd, NativeMethods.GA_PARENT);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (2)
89
IntPtr hwndParent = NativeMethodsSetLastError.
GetAncestor
(hwnd, NativeMethods.GA_PARENT);
260
IntPtr hwndParent = NativeMethodsSetLastError.
GetAncestor
(_hwnd, NativeMethods.GA_PARENT);
MS\Internal\AutomationProxies\WindowsTab.cs (1)
728
IntPtr hwndParent = NativeMethodsSetLastError.
GetAncestor
(hwnd, NativeMethods.GA_PARENT);
MS\Internal\AutomationProxies\WindowsUpDown.cs (2)
310
IntPtr hwndParent = NativeMethodsSetLastError.
GetAncestor
(_hwnd, NativeMethods.GA_PARENT);
641
IntPtr hwndParent = NativeMethodsSetLastError.
GetAncestor
(_hwnd, NativeMethods.GA_PARENT);