37 references to GetWindowStyle
UIAutomationClientSideProviders (37)
MS\Internal\AutomationProxies\ClickablePoint.cs (1)
84if (Misc.IsBitSet(Misc.GetWindowStyle(hwndCurrent), NativeMethods.WS_POPUP))
MS\Internal\AutomationProxies\EventManager.cs (1)
449int style = Misc.GetWindowStyle(hwnd);
MS\Internal\AutomationProxies\NonClientArea.cs (1)
729int style = Misc.GetWindowStyle(hwnd);
MS\Internal\AutomationProxies\ProxySimple.cs (1)
664return Misc.GetWindowStyle(_hwnd);
MS\Internal\AutomationProxies\WindowsButton.cs (3)
105style = Misc.GetWindowStyle(hwnd) & NativeMethods.BS_TYPEMASK; 332new WindowsButton(hwndRadioButton, null, ButtonType.RadioButton, Misc.GetWindowStyle(hwndRadioButton) & NativeMethods.BS_TYPEMASK, accRadioButton) 404return new WindowsButton(hwndParent, null, ButtonType.GroupBox, Misc.GetWindowStyle(hwndParent) & NativeMethods.BS_TYPEMASK, accParent);
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
636return (Misc.GetWindowStyle(hwnd) & NativeMethods.CBS_COMBOTYPEMASK);
MS\Internal\AutomationProxies\WindowsContainer.cs (1)
134int style = Misc.GetWindowStyle(hwnd);
MS\Internal\AutomationProxies\WindowsEditBox.cs (1)
493int style = Misc.GetWindowStyle(hwnd);
MS\Internal\AutomationProxies\WindowsFormsHelpers.cs (5)
51return new WindowsButton(hwnd, null, WindowsButton.ButtonType.GroupBox, Misc.GetWindowStyle(hwnd) & NativeMethods.BS_TYPEMASK, acc); 85return new WindowsButton(hwnd, null, WindowsButton.ButtonType.CheckBox, Misc.GetWindowStyle(hwnd) & NativeMethods.BS_TYPEMASK, acc); 88return new WindowsButton(hwnd, null, WindowsButton.ButtonType.GroupBox, Misc.GetWindowStyle(hwnd) & NativeMethods.BS_TYPEMASK, acc); 91return new WindowsButton(hwnd, null, WindowsButton.ButtonType.PushButton, Misc.GetWindowStyle(hwnd) & NativeMethods.BS_TYPEMASK, acc); 94return new WindowsButton(hwnd, null, WindowsButton.ButtonType.RadioButton, Misc.GetWindowStyle(hwnd) & NativeMethods.BS_TYPEMASK, acc);
MS\Internal\AutomationProxies\WindowsListBox.cs (3)
66int style = Misc.GetWindowStyle(hwnd); 518if (Misc.IsBitSet(Misc.GetWindowStyle(hwnd), NativeMethods.LBS_COMBOBOX)) 1137int listBoxStyle = Misc.GetWindowStyle(_hwnd);
MS\Internal\AutomationProxies\WindowsListView.cs (6)
1178return ((Misc.GetWindowStyle(hwnd) & NativeMethods.LVS_TYPEMASK) == NativeMethods.LVS_REPORT); 1312return Misc.IsBitSet(Misc.GetWindowStyle(hwnd), NativeMethods.LVS_EDITLABELS); 1358return !Misc.IsBitSet(Misc.GetWindowStyle(hwnd), NativeMethods.LVS_SINGLESEL); 1364return !Misc.IsBitSet(Misc.GetWindowStyle(hwnd), NativeMethods.LVS_NOSCROLL); 1469return Misc.IsBitSet(Misc.GetWindowStyle(hwnd), NativeMethods.LVS_AUTOARRANGE); 1784return ((Misc.GetWindowStyle(hwnd) & NativeMethods.LVS_TYPEMASK) == NativeMethods.LVS_LIST);
MS\Internal\AutomationProxies\WindowsRebar.cs (1)
413if (Misc.IsBitSet(Misc.GetWindowStyle(hwnd), (int)CommonControlStyles.CCS_VERT))
MS\Internal\AutomationProxies\WindowsScroll.cs (2)
112int style = Misc.GetWindowStyle(hwnd); 157int style = Misc.GetWindowStyle(hwnd);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (3)
412return Misc.IsBitSet(Misc.GetWindowStyle(hwnd), NativeMethods.WS_VSCROLL); 417return Misc.IsBitSet(Misc.GetWindowStyle(hwnd), NativeMethods.WS_HSCROLL); 423return Misc.IsBitSet(Misc.GetWindowStyle(hwnd), NativeMethods.SBS_VERT);
MS\Internal\AutomationProxies\WindowsStatic.cs (1)
89style = Misc.GetWindowStyle(hwnd) & NativeMethods.SS_TYPEMASK;
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
833int style = Misc.GetWindowStyle(hwnd);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (1)
293return Misc.IsBitSet(Misc.GetWindowStyle(hwnd), NativeMethods.HDS_HIDDEN);
MS\Internal\AutomationProxies\WindowsTab.cs (1)
866return Misc.IsBitSet(Misc.GetWindowStyle(hwnd), (NativeMethods.TCS_BUTTONS | NativeMethods.TCS_MULTISELECT));
MS\Internal\AutomationProxies\WindowsTooltip.cs (2)
310if (Misc.IsBitSet(Misc.GetWindowStyle(hwnd), NativeMethods.WS_MINIMIZE)) 316if (Misc.IsBitSet(Misc.GetWindowStyle(hwnd), NativeMethods.WS_MAXIMIZE))
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
634return Misc.IsBitSet(Misc.GetWindowStyle(hwnd), NativeMethods.UDS_HORZ);