204 references to WINDOW_STYLE
System.Windows.Forms (126)
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (1)
70
public override
WINDOW_STYLE
WindowStyle => GetWindowStyle(_owningChildEdit);
System\Windows\Forms\ActiveX\AxHost.cs (1)
212
cp.Style &= ~(int)
WINDOW_STYLE
.WS_VISIBLE;
System\Windows\Forms\Application.cs (2)
1234
((
WINDOW_STYLE
)PInvokeCore.GetWindowLong(handle.Handle, WINDOW_LONG_PTR_INDEX.GWL_STYLE)).HasFlag(
WINDOW_STYLE
.WS_CHILD),
System\Windows\Forms\Control.cs (24)
383
AdjustWindowRectExForControlDpi(ref rect, (
WINDOW_STYLE
)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle);
1414
cp.Style = (int)
WINDOW_STYLE
.WS_CLIPCHILDREN;
1427
cp.Style |= (int)(
WINDOW_STYLE
.WS_CHILD |
WINDOW_STYLE
.WS_CLIPSIBLINGS);
1436
cp.Style |= (int)
WINDOW_STYLE
.WS_TABSTOP;
1441
cp.Style |= (int)
WINDOW_STYLE
.WS_VISIBLE;
1448
cp.Style |= (int)
WINDOW_STYLE
.WS_DISABLED;
3167
SetWindowStyle((int)
WINDOW_STYLE
.WS_TABSTOP, value);
3642
internal
WINDOW_STYLE
WindowStyle
3644
get => (
WINDOW_STYLE
)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.GWL_STYLE);
4605
if (cp.Parent == IntPtr.Zero && (cp.Style & (int)
WINDOW_STYLE
.WS_CHILD) != 0)
5408
AdjustWindowRectExForControlDpi(ref adornmentsAfterDpiChange, (
WINDOW_STYLE
)cp.Style, bMenu: false, (WINDOW_EX_STYLE)cp.ExStyle);
5412
AdjustWindowRectExForDpi(ref adornmentsBeforeDpiChange, (
WINDOW_STYLE
)cp.Style, bMenu: false, (WINDOW_EX_STYLE)cp.ExStyle, OriginalDeviceDpiInternal);
6464
private protected void AdjustWindowRectExForControlDpi(ref RECT rect,
WINDOW_STYLE
style, bool bMenu, WINDOW_EX_STYLE exStyle)
6469
private static void AdjustWindowRectExForDpi(ref RECT rect,
WINDOW_STYLE
style, bool bMenu, WINDOW_EX_STYLE exStyle, int dpi)
9804
AdjustWindowRectExForControlDpi(ref adornments, (
WINDOW_STYLE
)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle);
10249
AdjustWindowRectExForControlDpi(ref rect, (
WINDOW_STYLE
)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle);
10892
AdjustWindowRectExForControlDpi(ref rect, (
WINDOW_STYLE
)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle);
11087
WINDOW_STYLE
currentStyle = WindowStyle;
11093
cp.Style |= (int)
WINDOW_STYLE
.WS_VISIBLE;
11096
if (currentStyle != (
WINDOW_STYLE
)cp.Style)
11098
WindowStyle = (
WINDOW_STYLE
)cp.Style;
11150
if (((
WINDOW_STYLE
)PInvokeCore.GetWindowLong(lastParentHandle, WINDOW_LONG_PTR_INDEX.GWL_STYLE))
11151
.HasFlag(
WINDOW_STYLE
.WS_CHILD))
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (2)
113
public override
WINDOW_STYLE
WindowStyle
116
:
WINDOW_STYLE
.WS_OVERLAPPED;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
349
cp.Style |= (int)
WINDOW_STYLE
.WS_VSCROLL | PInvoke.CBS_HASSTRINGS | PInvoke.CBS_AUTOHSCROLL;
System\Windows\Forms\Controls\Labels\Label.cs (4)
292
cp.Style |= (int)
WINDOW_STYLE
.WS_BORDER;
794
WINDOW_STYLE
style = WindowStyle;
797
style |= (
WINDOW_STYLE
)STATIC_STYLES.SS_NOPREFIX;
801
style &= ~(
WINDOW_STYLE
)STATIC_STYLES.SS_NOPREFIX;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (4)
272
cp.Style |= (int)
WINDOW_STYLE
.WS_VSCROLL | PInvoke.LBS_NOTIFY | PInvoke.LBS_HASSTRINGS;
294
cp.Style |= (int)
WINDOW_STYLE
.WS_BORDER;
300
cp.Style |= PInvoke.LBS_MULTICOLUMN | (int)
WINDOW_STYLE
.WS_HSCROLL;
304
cp.Style |= (int)
WINDOW_STYLE
.WS_HSCROLL;
System\Windows\Forms\Controls\ListView\ListView.cs (3)
640
cp.Style |= currentStyle & (int)(
WINDOW_STYLE
.WS_HSCROLL |
WINDOW_STYLE
.WS_VSCROLL);
666
cp.Style |= (int)
WINDOW_STYLE
.WS_BORDER;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
206
cp.Style |= (int)
WINDOW_STYLE
.WS_BORDER;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (2)
72
cp.Style |= unchecked((int)(
WINDOW_STYLE
.WS_POPUP |
WINDOW_STYLE
.WS_BORDER));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBox.cs (1)
27
cp.Style &= ~(int)
WINDOW_STYLE
.WS_BORDER;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (4)
293
cp.Style |= (int)
WINDOW_STYLE
.WS_HSCROLL;
302
cp.Style |= (int)
WINDOW_STYLE
.WS_VSCROLL;
312
if (BorderStyle == BorderStyle.FixedSingle && ((cp.Style & (int)
WINDOW_STYLE
.WS_BORDER) != 0))
314
cp.Style &= ~(int)
WINDOW_STYLE
.WS_BORDER;
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
209
cp.Style &= ~(int)
WINDOW_STYLE
.WS_BORDER;
218
cp.Style |= (int)
WINDOW_STYLE
.WS_BORDER;
System\Windows\Forms\Controls\TextBox\TextBox.cs (2)
311
cp.Style |= (int)
WINDOW_STYLE
.WS_HSCROLL;
316
cp.Style |= (int)
WINDOW_STYLE
.WS_VSCROLL;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
418
cp.Style &= ~(int)
WINDOW_STYLE
.WS_BORDER;
427
cp.Style |= (int)
WINDOW_STYLE
.WS_BORDER;
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (2)
289
public override
WINDOW_STYLE
WindowStyle
292
:
WINDOW_STYLE
.WS_OVERLAPPED;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (10)
220
cp.Style &= ~(int)(
WINDOW_STYLE
.WS_CAPTION |
WINDOW_STYLE
.WS_CLIPSIBLINGS);
223
cp.Style |= TopLevel ? unchecked((int)
WINDOW_STYLE
.WS_POPUP) : (int)
WINDOW_STYLE
.WS_CHILD;
246
cp.Style |= (int)
WINDOW_STYLE
.WS_CLIPSIBLINGS;
1537
WINDOW_STYLE
styleFlags = WindowStyle;
1542
styleFlags &= ~
WINDOW_STYLE
.WS_CHILD;
1543
styleFlags |=
WINDOW_STYLE
.WS_POPUP;
1548
styleFlags &= ~
WINDOW_STYLE
.WS_POPUP;
1549
styleFlags |=
WINDOW_STYLE
.WS_CHILD;
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
33
AdjustWindowRectExForControlDpi(ref rect, (
WINDOW_STYLE
)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle);
System\Windows\Forms\Controls\TreeView\TreeView.cs (3)
316
cp.Style |= currentStyle & (int)(
WINDOW_STYLE
.WS_HSCROLL |
WINDOW_STYLE
.WS_VSCROLL);
325
cp.Style |= (int)
WINDOW_STYLE
.WS_BORDER;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
222
cp.Style &= ~(int)
WINDOW_STYLE
.WS_BORDER;
231
cp.Style |= (int)
WINDOW_STYLE
.WS_BORDER;
System\Windows\Forms\Design\ComponentEditorPage.cs (3)
82
cp.Style &= ~(int)(
WINDOW_STYLE
.WS_BORDER |
WINDOW_STYLE
.WS_OVERLAPPED |
WINDOW_STYLE
.WS_DLGFRAME);
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (2)
94
Style = (int)(
WINDOW_STYLE
.WS_VISIBLE |
WINDOW_STYLE
.WS_CHILD),
System\Windows\Forms\Form.cs (30)
760
if (IsHandleCreated && WindowStyle.HasFlag(
WINDOW_STYLE
.WS_DISABLED))
763
cp.Style |= (int)
WINDOW_STYLE
.WS_DISABLED;
768
cp.Style &= ~(int)
WINDOW_STYLE
.WS_DISABLED;
805
cp.Style |= (int)
WINDOW_STYLE
.WS_MAXIMIZE;
813
cp.Style |= (int)
WINDOW_STYLE
.WS_MAXIMIZE;
826
if ((cp.Style & (int)
WINDOW_STYLE
.WS_VISIBLE) != 0)
829
cp.Style &= ~(int)
WINDOW_STYLE
.WS_VISIBLE;
3268
return ComputeWindowSize(clientSize, (
WINDOW_STYLE
)cp.Style, (WINDOW_EX_STYLE)cp.ExStyle);
3275
private Size ComputeWindowSize(Size clientSize,
WINDOW_STYLE
style, WINDOW_EX_STYLE exStyle)
3583
cp.Style |= (int)
WINDOW_STYLE
.WS_CAPTION;
3588
cp.Style |= (int)(
WINDOW_STYLE
.WS_SYSMENU |
WINDOW_STYLE
.WS_CAPTION);
3592
cp.Style &= ~(int)
WINDOW_STYLE
.WS_SYSMENU;
3597
cp.Style |= (int)
WINDOW_STYLE
.WS_MAXIMIZEBOX;
3601
cp.Style &= ~(int)
WINDOW_STYLE
.WS_MAXIMIZEBOX;
3606
cp.Style |= (int)
WINDOW_STYLE
.WS_MINIMIZEBOX;
3610
cp.Style &= ~(int)
WINDOW_STYLE
.WS_MINIMIZEBOX;
3638
cp.Style |= (int)
WINDOW_STYLE
.WS_BORDER;
3641
cp.Style |= (int)(
WINDOW_STYLE
.WS_BORDER |
WINDOW_STYLE
.WS_THICKFRAME);
3644
cp.Style |= (int)
WINDOW_STYLE
.WS_BORDER;
3648
cp.Style |= (int)
WINDOW_STYLE
.WS_BORDER;
3652
cp.Style |= (int)
WINDOW_STYLE
.WS_BORDER;
3656
cp.Style |= (int)(
WINDOW_STYLE
.WS_BORDER |
WINDOW_STYLE
.WS_THICKFRAME);
3670
int maskedStyle = cp.Style & ~(int)(
WINDOW_STYLE
.WS_MAXIMIZE |
WINDOW_STYLE
.WS_MINIMIZE);
3671
Size correct = ComputeWindowSize(ClientSize, (
WINDOW_STYLE
)maskedStyle, (WINDOW_EX_STYLE)cp.ExStyle);
3745
cp.Style |= (int)
WINDOW_STYLE
.WS_MAXIMIZE;
3748
cp.Style |= (int)
WINDOW_STYLE
.WS_MINIMIZE;
System\Windows\Forms\MDI\MDIClient.cs (4)
91
cp.Style |= (int)(
WINDOW_STYLE
.WS_VSCROLL |
WINDOW_STYLE
.WS_HSCROLL);
101
cp.Style |= (int)
WINDOW_STYLE
.WS_DISABLED;
283
AdjustWindowRectExForControlDpi(ref rect, (
WINDOW_STYLE
)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle);
System\Windows\Forms\NativeWindow.cs (3)
318
&& ((
WINDOW_STYLE
)(uint)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.GWL_STYLE)).HasFlag(
WINDOW_STYLE
.WS_CHILD)
443
(
WINDOW_STYLE
)cp.Style,
System\Windows\Forms\Panels\Panel.cs (2)
123
cp.Style &= ~(int)
WINDOW_STYLE
.WS_BORDER;
133
cp.Style |= (int)
WINDOW_STYLE
.WS_BORDER;
System\Windows\Forms\Scrolling\ScrollableControl.cs (4)
163
cp.Style |= (int)
WINDOW_STYLE
.WS_HSCROLL;
167
cp.Style &= ~(int)
WINDOW_STYLE
.WS_HSCROLL;
172
cp.Style |= (int)
WINDOW_STYLE
.WS_VSCROLL;
176
cp.Style &= ~(int)
WINDOW_STYLE
.WS_VSCROLL;
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
121
cp.Style &= ~(int)
WINDOW_STYLE
.WS_BORDER;
System\Windows\Forms\ToolTip\ToolTip.cs (1)
727
style &= ~(int)
WINDOW_STYLE
.WS_BORDER;
System\Windows\Forms\UserControl.cs (2)
159
cp.Style &= ~(int)
WINDOW_STYLE
.WS_BORDER;
169
cp.Style |= (int)
WINDOW_STYLE
.WS_BORDER;
System.Windows.Forms.Design (9)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (2)
63
cp.Style |= unchecked((int)(
WINDOW_STYLE
.WS_POPUP |
WINDOW_STYLE
.WS_BORDER));
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (1)
221
return (style & (int)
WINDOW_STYLE
.WS_DISABLED) == 0;
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (2)
42
cp.Style &= ~(int)(
WINDOW_STYLE
.WS_CLIPCHILDREN |
WINDOW_STYLE
.WS_CLIPSIBLINGS);
System\Windows\Forms\Design\SelectionUIService.cs (2)
100
cp.Style &= ~(int)(
WINDOW_STYLE
.WS_CLIPSIBLINGS |
WINDOW_STYLE
.WS_CLIPCHILDREN);
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (2)
179
cp.Style &= ~(int)(
WINDOW_STYLE
.WS_CLIPCHILDREN |
WINDOW_STYLE
.WS_CLIPSIBLINGS);
System.Windows.Forms.Primitives (19)
System\Windows\Forms\Automation\UiaTextProvider.cs (3)
55
public abstract
WINDOW_STYLE
WindowStyle { get; }
78
public static
WINDOW_STYLE
GetWindowStyle(IHandle<HWND> hWnd) =>
79
(
WINDOW_STYLE
)PInvokeCore.GetWindowLong(hWnd, WINDOW_LONG_PTR_INDEX.GWL_STYLE);
System\Windows\Forms\Automation\UiaTextRange.cs (2)
878
private static int GetCapStyle(
WINDOW_STYLE
windowStyle)
896
private static int GetHorizontalTextAlignment(
WINDOW_STYLE
windowStyle)
Windows.Win32.PInvoke.USER32.dll.g.cs (12)
76
/// <inheritdoc cref="AdjustWindowRectEx(winmdroot.Foundation.RECT*, winmdroot.UI.WindowsAndMessaging.
WINDOW_STYLE
, winmdroot.Foundation.BOOL, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE)"/>
78
internal static unsafe winmdroot.Foundation.BOOL AdjustWindowRectEx(ref winmdroot.Foundation.RECT lpRect, winmdroot.UI.WindowsAndMessaging.
WINDOW_STYLE
dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle)
112
internal static unsafe winmdroot.Foundation.BOOL AdjustWindowRectEx(winmdroot.Foundation.RECT* lpRect, winmdroot.UI.WindowsAndMessaging.
WINDOW_STYLE
dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle)
120
static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.RECT* lpRect, winmdroot.UI.WindowsAndMessaging.
WINDOW_STYLE
dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle);
123
/// <inheritdoc cref="AdjustWindowRectExForDpi(winmdroot.Foundation.RECT*, winmdroot.UI.WindowsAndMessaging.
WINDOW_STYLE
, winmdroot.Foundation.BOOL, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE, uint)"/>
125
internal static unsafe winmdroot.Foundation.BOOL AdjustWindowRectExForDpi(ref winmdroot.Foundation.RECT lpRect, winmdroot.UI.WindowsAndMessaging.
WINDOW_STYLE
dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, uint dpi)
145
internal static unsafe winmdroot.Foundation.BOOL AdjustWindowRectExForDpi(winmdroot.Foundation.RECT* lpRect, winmdroot.UI.WindowsAndMessaging.
WINDOW_STYLE
dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, uint dpi)
153
static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.RECT* lpRect, winmdroot.UI.WindowsAndMessaging.
WINDOW_STYLE
dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, uint dpi);
438
/// <inheritdoc cref="CreateWindowEx(winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR, winmdroot.UI.WindowsAndMessaging.
WINDOW_STYLE
, int, int, int, int, winmdroot.Foundation.HWND, winmdroot.UI.WindowsAndMessaging.HMENU, winmdroot.Foundation.HINSTANCE, void*)"/>
440
internal static unsafe winmdroot.Foundation.HWND CreateWindowEx(winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, string lpClassName, string lpWindowName, winmdroot.UI.WindowsAndMessaging.
WINDOW_STYLE
dwStyle, int X, int Y, int nWidth, int nHeight, winmdroot.Foundation.HWND hWndParent, winmdroot.UI.WindowsAndMessaging.HMENU hMenu, winmdroot.Foundation.HINSTANCE hInstance, void* lpParam)
512
internal static unsafe winmdroot.Foundation.HWND CreateWindowEx(winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, winmdroot.Foundation.PCWSTR lpClassName, winmdroot.Foundation.PCWSTR lpWindowName, winmdroot.UI.WindowsAndMessaging.
WINDOW_STYLE
dwStyle, int X, int Y, int nWidth, int nHeight, winmdroot.Foundation.HWND hWndParent, winmdroot.UI.WindowsAndMessaging.HMENU hMenu, winmdroot.Foundation.HINSTANCE hInstance, [Optional] void* lpParam)
520
static extern unsafe winmdroot.Foundation.HWND LocalExternFunction(winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, winmdroot.Foundation.PCWSTR lpClassName, winmdroot.Foundation.PCWSTR lpWindowName, winmdroot.UI.WindowsAndMessaging.
WINDOW_STYLE
dwStyle, int X, int Y, int nWidth, int nHeight, winmdroot.Foundation.HWND hWndParent, winmdroot.UI.WindowsAndMessaging.HMENU hMenu, winmdroot.Foundation.HINSTANCE hInstance, [Optional] void* lpParam);
Windows\Win32\PInvoke.CreateWindowEx.cs (2)
11
/// <inheritdoc cref="CreateWindowEx(WINDOW_EX_STYLE, string, string,
WINDOW_STYLE
, int, int, int, int, HWND, HMENU, HINSTANCE, void*)"/>
16
WINDOW_STYLE
dwStyle,
System.Windows.Forms.Primitives.Tests (19)
System\Windows\Forms\Automation\TestAccessors.UiaTextRangeTestAccessor.cs (2)
32
public CapStyle GetCapStyle(
WINDOW_STYLE
windowStyle) => (CapStyle)Dynamic.GetCapStyle(windowStyle);
36
public HorizontalTextAlignment GetHorizontalTextAlignment(
WINDOW_STYLE
windowStyle)
System\Windows\Forms\Automation\UiaTextProviderTests.cs (15)
18
style:
WINDOW_STYLE
.WS_OVERLAPPED
19
|
WINDOW_STYLE
.WS_VISIBLE
20
| (
WINDOW_STYLE
)(PInvoke.ES_MULTILINE | PInvoke.ES_LEFT | PInvoke.ES_AUTOHSCROLL | PInvoke.ES_AUTOVSCROLL));
23
WINDOW_STYLE
actual = UiaTextProvider.GetWindowStyle(textBox);
32
style:
WINDOW_STYLE
.WS_OVERLAPPED
33
|
WINDOW_STYLE
.WS_VISIBLE
34
| (
WINDOW_STYLE
)(PInvoke.ES_LEFT | PInvoke.ES_AUTOHSCROLL | PInvoke.ES_AUTOVSCROLL));
37
WINDOW_STYLE
actual = UiaTextProvider.GetWindowStyle(textBox);
45
style:
WINDOW_STYLE
.WS_OVERLAPPED
46
|
WINDOW_STYLE
.WS_VISIBLE
47
| (
WINDOW_STYLE
)(PInvoke.ES_MULTILINE | PInvoke.ES_LEFT | PInvoke.ES_AUTOHSCROLL | PInvoke.ES_AUTOVSCROLL));
50
WINDOW_STYLE
actual = UiaTextProvider.GetWindowStyle(textBox);
51
Assert.True(actual.HasFlag(
WINDOW_STYLE
.WS_VISIBLE));
58
style:
WINDOW_STYLE
.WS_OVERLAPPED |
WINDOW_STYLE
.WS_VISIBLE);
System\Windows\Forms\Automation\UiaTextRangeTests.cs (2)
1128
HorizontalTextAlignment actual = textRange.TestAccessor().GetHorizontalTextAlignment((
WINDOW_STYLE
)style);
1142
CapStyle actual = textRange.TestAccessor().GetCapStyle((
WINDOW_STYLE
)editStyle);
System.Windows.Forms.Primitives.TestUtilities (8)
Win32\EditControl.cs (2)
13
WINDOW_STYLE
style =
WINDOW_STYLE
.WS_OVERLAPPED,
Win32\Window.cs (2)
18
WINDOW_STYLE
style =
WINDOW_STYLE
.WS_OVERLAPPED,
Win32\WindowClass.cs (4)
128
WINDOW_STYLE
style =
WINDOW_STYLE
.WS_OVERLAPPED,
149
WINDOW_STYLE
style =
WINDOW_STYLE
.WS_OVERLAPPED,
System.Windows.Forms.Tests (23)
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (3)
112
Assert.Equal(
WINDOW_STYLE
.WS_OVERLAPPED, provider.WindowStyle);
731
WINDOW_STYLE
actual = provider.WindowStyle;
750
WINDOW_STYLE
actual = provider.WindowStyle;
System\Windows\Forms\ControlTests.Methods.cs (1)
10137
cp.Style |= (int)
WINDOW_STYLE
.WS_BORDER;
System\Windows\Forms\DomainUpDownTests.cs (6)
166
((
WINDOW_STYLE
)createParams.Style).Should().Be(
WINDOW_STYLE
.WS_MAXIMIZEBOX |
WINDOW_STYLE
.WS_CLIPCHILDREN |
WINDOW_STYLE
.WS_CLIPSIBLINGS
167
|
WINDOW_STYLE
.WS_VISIBLE |
WINDOW_STYLE
.WS_CHILD);
System\Windows\Forms\GroupBoxTests.cs (1)
952
cp.Style |= (int)
WINDOW_STYLE
.WS_BORDER;
System\Windows\Forms\PanelTests.cs (1)
644
cp.Style |= (int)
WINDOW_STYLE
.WS_BORDER;
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (3)
84
Assert.Equal(
WINDOW_STYLE
.WS_OVERLAPPED, provider.WindowStyle);
594
WINDOW_STYLE
actual = provider.WindowStyle;
606
WINDOW_STYLE
actual = provider.WindowStyle;
System\Windows\Forms\UpDownBaseTests.cs (6)
149
Assert.Equal(
WINDOW_STYLE
.WS_MAXIMIZEBOX |
WINDOW_STYLE
.WS_CLIPCHILDREN |
WINDOW_STYLE
.WS_CLIPSIBLINGS |
150
WINDOW_STYLE
.WS_VISIBLE |
WINDOW_STYLE
.WS_CHILD, (
WINDOW_STYLE
)createParams.Style);
TextBoxBaseTests.cs (2)
2406
WINDOW_STYLE
style = (
WINDOW_STYLE
)PInvokeCore.GetWindowLong(control, WINDOW_LONG_PTR_INDEX.GWL_STYLE);