124 references to SafeNativeMethods
UIAutomationClientSideProviders (124)
MS\Internal\AutomationProxies\ClickablePoint.cs (1)
233
if (!
SafeNativeMethods
.IsWindowVisible(hwnd))
MS\Internal\AutomationProxies\EventManager.cs (1)
147
bool fIsReadOnly =
SafeNativeMethods
.IsWindowEnabled(hwnd);
MS\Internal\AutomationProxies\Input.cs (1)
134
ki.union.keyboardInput.wScan = (short)
SafeNativeMethods
.MapVirtualKey(ki.union.keyboardInput.wVk, 0);
MS\Internal\AutomationProxies\Misc.cs (7)
747
if (!
SafeNativeMethods
.IsWindowEnabled(hwnd))
778
bool result =
SafeNativeMethods
.IntersectRect(ref rcDest, ref rc1, ref rc2);
1445
int result =
SafeNativeMethods
.RegisterWindowMessage(msg);
1493
if (!
SafeNativeMethods
.IsWindowVisible(hwnd) || !
SafeNativeMethods
.IsWindowEnabled(hwnd))
1719
bool result =
SafeNativeMethods
.UnionRect(out rcDst, ref rc1, ref rc2);
1842
IntPtr hwndShell =
SafeNativeMethods
.GetShellWindow();
MS\Internal\AutomationProxies\MSAANativeProvider.cs (5)
615
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
629
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
643
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
685
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
1191
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
228
if (!
SafeNativeMethods
.IsWindowVisible(_hwnd))
MS\Internal\AutomationProxies\ProxySimple.cs (2)
274
if (
SafeNativeMethods
.IsWindowVisible(_hwnd) && (bool)GetElementProperty(AutomationElement.IsEnabledProperty))
529
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
MS\Internal\AutomationProxies\WindowsButton.cs (2)
264
return
SafeNativeMethods
.IsWindowVisible(_hwnd);
462
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
MS\Internal\AutomationProxies\WindowsComboBox.cs (3)
264
if (
SafeNativeMethods
.IsWindowVisible(cbInfo.hwndList))
373
if (GetComboInfo(_hwnd, ref cbInfo) &&
SafeNativeMethods
.IsWindowVisible(cbInfo.hwndItem))
411
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
MS\Internal\AutomationProxies\WindowsContainer.cs (2)
147
if (!
SafeNativeMethods
.IsWindowVisible(hwnd))
181
if (hwndTab == IntPtr.Zero || !
SafeNativeMethods
.IsWindowVisible(hwndTab))
MS\Internal\AutomationProxies\WindowsEditBox.cs (1)
672
return (!
SafeNativeMethods
.IsWindowEnabled(WindowHandle) || Misc.IsBitSet(WindowStyle, NativeMethods.ES_READONLY));
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (2)
756
return
SafeNativeMethods
.GetSysColor(NativeMethods.COLOR_WINDOW);
791
return
SafeNativeMethods
.GetSysColor(NativeMethods.COLOR_WINDOWTEXT);
MS\Internal\AutomationProxies\WindowsFormsLinkLabel.cs (2)
109
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
114
if (!
SafeNativeMethods
.IsWindowVisible(_hwnd))
MS\Internal\AutomationProxies\WindowsHyperlink.cs (2)
423
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
428
if (!
SafeNativeMethods
.IsWindowVisible(_hwnd))
MS\Internal\AutomationProxies\WindowsIPAddress.cs (3)
117
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
363
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
402
return !
SafeNativeMethods
.IsWindowEnabled(_hwnd);
MS\Internal\AutomationProxies\WindowsListBox.cs (8)
171
return IsParentedByCombo() ||
SafeNativeMethods
.IsWindowVisible(_hwnd);
180
if (!
SafeNativeMethods
.IsWindowVisible(_hwnd))
762
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
819
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
871
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
922
if (_listBox._parentedByCombo && !
SafeNativeMethods
.IsWindowVisible(_hwnd))
944
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
948
if (!
SafeNativeMethods
.IsWindowVisible(_hwnd))
MS\Internal\AutomationProxies\WindowsListView.cs (9)
496
if (hwndHeader != IntPtr.Zero &&
SafeNativeMethods
.IsWindowVisible (hwndHeader))
525
if (hwndHeader != IntPtr.Zero &&
SafeNativeMethods
.IsWindowVisible (hwndHeader))
604
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
615
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
790
if (hwndHeader != IntPtr.Zero &&
SafeNativeMethods
.IsWindowVisible (hwndHeader))
916
return
SafeNativeMethods
.IsWindowVisible(hwndHeader);
1165
if (_groupsCollection.Contains (hwnd) && !
SafeNativeMethods
.IsWindowVisible (hwnd) && !
SafeNativeMethods
.IsWindowEnabled (hwnd))
1834
if (hwndHeader != IntPtr.Zero &&
SafeNativeMethods
.IsWindowVisible (hwndHeader))
MS\Internal\AutomationProxies\WindowsListViewGroup.cs (1)
405
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
MS\Internal\AutomationProxies\WindowsListViewItem.cs (7)
385
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
410
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
448
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
517
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
546
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
658
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
966
int scanCode =
SafeNativeMethods
.MapVirtualKey (NativeMethods.VK_RETURN, 0);
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (1)
240
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (1)
48
if (!
SafeNativeMethods
.IsWindowEnabled (_hwnd))
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (2)
218
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
328
if (
SafeNativeMethods
.IsWindowVisible (hwndHeader))
MS\Internal\AutomationProxies\WindowsMenu.cs (24)
237
if (!
SafeNativeMethods
.IsWindowVisible(hwndPopup))
618
if (
SafeNativeMethods
.IsWindowVisible (hwndPossibleParent))
646
if (
SafeNativeMethods
.IsWindowVisible (hwndSubMenu))
715
if (
SafeNativeMethods
.IsWindowVisible (hwnd))
937
if (!
SafeNativeMethods
.IsWindowVisible(hwndPopup))
974
if (
SafeNativeMethods
.IsWindowVisible (parentInfo._hwndParent))
1214
if (!
SafeNativeMethods
.IsWindowVisible (_hwnd) || _type == MenuItemType.Spacer)
1426
if (!
SafeNativeMethods
.IsWindowVisible(_hwnd) || _type == MenuItemType.Spacer)
1504
UInt32 dwTicks =
SafeNativeMethods
.GetTickCount();
1509
(dwDelta = SubtractTicks(
SafeNativeMethods
.GetTickCount(), dwTicks)) <= WindowsMenu.TimeOut)
1979
return (hwndSubMenu == IntPtr.Zero || !
SafeNativeMethods
.IsWindowVisible(hwndSubMenu));
2020
if (!
SafeNativeMethods
.IsWindowVisible (_hwnd))
2065
if (!
SafeNativeMethods
.IsWindowVisible(_hwnd))
2098
if (
SafeNativeMethods
.IsWindowVisible (hwndSubMenu))
2161
UInt32 dwTicks =
SafeNativeMethods
.GetTickCount (), dwDelta = 0;
2177
|| (dwDelta = SubtractTicks (
SafeNativeMethods
.GetTickCount (), dwTicks)) >= WindowsMenu.TimeOut)
2188
UInt32 dwTicks =
SafeNativeMethods
.GetTickCount();
2206
} while (SubtractTicks(
SafeNativeMethods
.GetTickCount(), dwTicks) <= WindowsMenu.TimeOut);
2227
if (!
SafeNativeMethods
.IsWindowVisible (_hwnd))
2263
UInt32 dwTicks =
SafeNativeMethods
.GetTickCount();
2267
while (Misc.InMenuMode() != fInMenuMode && (dwDelta = SubtractTicks(
SafeNativeMethods
.GetTickCount(), dwTicks)) < WindowsMenu.TimeOut)
2328
UInt32 dwTicks =
SafeNativeMethods
.GetTickCount ();
2333
(dwDelta = SubtractTicks (
SafeNativeMethods
.GetTickCount (), dwTicks)) <= WindowsMenu.TimeOut)
2644
return
SafeNativeMethods
.IsWindowEnabled(_hwnd);
MS\Internal\AutomationProxies\WindowsRebar.cs (1)
375
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
MS\Internal\AutomationProxies\WindowsRichEdit.cs (2)
163
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
460
return (!
SafeNativeMethods
.IsWindowEnabled(WindowHandle) ||
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (2)
630
return
SafeNativeMethods
.GetSysColor(NativeMethods.COLOR_WINDOW);
771
return
SafeNativeMethods
.GetSysColor(NativeMethods.COLOR_WINDOWTEXT);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (3)
191
return
SafeNativeMethods
.IsWindowVisible(_hwnd);
200
if (
SafeNativeMethods
.IsWindowVisible(_hwnd) &&
617
if (!
SafeNativeMethods
.IsWindowEnabled (_hwnd))
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (2)
112
return
SafeNativeMethods
.IsWindowVisible(_hwnd);
148
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
MS\Internal\AutomationProxies\WindowsSlider.cs (2)
157
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
431
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
MS\Internal\AutomationProxies\WindowsSysHeader.cs (4)
464
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
638
if (!
SafeNativeMethods
.IsWindowEnabled (_hwnd) || !
SafeNativeMethods
.IsWindowVisible (_hwnd) || HeaderIsHidden (_hwnd))
709
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
MS\Internal\AutomationProxies\WindowsTab.cs (9)
449
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
473
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
1036
if (hwndChild != IntPtr.Zero &&
SafeNativeMethods
.IsWindowVisible(hwndChild))
1059
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
1079
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
1122
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
1204
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
1283
return (
SafeNativeMethods
.IsWindowEnabled(_hwnd) &&
SafeNativeMethods
.IsWindowVisible(_hwnd));
MS\Internal\AutomationProxies\WindowsTitleBar.cs (1)
403
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
MS\Internal\AutomationProxies\WindowsToolbar.cs (1)
643
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd)
MS\Internal\AutomationProxies\WindowsTreeView.cs (7)
958
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
989
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
1024
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
1074
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
1103
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
1145
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
1185
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))
MS\Internal\AutomationProxies\WindowsUpDown.cs (2)
204
if (!
SafeNativeMethods
.IsWindowEnabled (_hwnd))
509
if (!
SafeNativeMethods
.IsWindowEnabled(_hwnd))