32 references to WindowsFormsHelper
UIAutomationClientSideProviders (32)
MS\Internal\AutomationProxies\Main.cs (1)
83
new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(MS.Internal.AutomationProxies.
WindowsFormsHelper
.Create), "WindowsForms", null, ClientSideProviderMatchIndicator.AllowSubstringMatch),
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
158
if (
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
MS\Internal\AutomationProxies\NonClientArea.cs (1)
132
if(hasNonClientControls ||
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
MS\Internal\AutomationProxies\ProxyHwnd.cs (3)
161
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
163
string sPersistentID =
WindowsFormsHelper
.WindowsFormsID (_hwnd);
171
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
MS\Internal\AutomationProxies\ProxySimple.cs (3)
269
return
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd) ? "WinForm" : "Win32";
762
protected
WindowsFormsHelper
.FormControlState _windowsForms =
WindowsFormsHelper
.FormControlState.Undeterminate;
MS\Internal\AutomationProxies\WindowsButton.cs (8)
105
if (
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
107
return
WindowsFormsHelper
.CreateButton(hwnd);
258
if (!
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms) && IsStartButton())
399
if (hwndParent != IntPtr.Zero &&
WindowsFormsHelper
.IsWindowsFormsControl(hwndParent))
672
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
682
if (!
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
709
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
722
if (!
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
MS\Internal\AutomationProxies\WindowsListBox.cs (4)
623
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd))
1078
if (_windowsForms ==
WindowsFormsHelper
.FormControlState.Undeterminate)
1080
_windowsForms =
WindowsFormsHelper
.GetControlState(_hwnd);
1083
if (_windowsForms ==
WindowsFormsHelper
.FormControlState.True)
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
178
if (Misc.IsBitSet(WindowStyle, NativeMethods.ES_NUMBER) && !
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd))
MS\Internal\AutomationProxies\WindowsStatic.cs (1)
75
if (
WindowsFormsHelper
.IsWindowsFormsControl(className))
MS\Internal\AutomationProxies\WindowsStatusBar.cs (3)
68
bool isWinforms =
WindowsFormsHelper
.IsWindowsFormsControl(hwnd);
69
ProxySimple el = isWinforms ? (ProxySimple)
WindowsFormsHelper
.Create(hwnd, 0, idObject) : (ProxySimple)Create(hwnd, 0);
561
if( !
WindowsFormsHelper
.IsWindowsFormsControl(hwnd))
MS\Internal\AutomationProxies\WindowsTab.cs (5)
45
_windowsForms =
WindowsFormsHelper
.GetControlState (hwnd);
679
return new WindowsTabItem(_hwnd, this, index, _windowsForms ==
WindowsFormsHelper
.FormControlState.True);
957
if (idProp == AutomationElement.AccessKeyProperty && _windowsForms !=
WindowsFormsHelper
.FormControlState.True)
985
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd, ref _windowsForms))
994
return GetName(_hwnd, _item, _windowsForms ==
WindowsFormsHelper
.FormControlState.True);
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
126
if (
WindowsFormsHelper
.IsWindowsFormsControl(_hwnd) && IsWinformUpdown(_hwnd))