22 references to GWL_STYLE
System.Windows.Forms (19)
System\Windows\Forms\Application.cs (1)
1234
((WINDOW_STYLE)PInvokeCore.GetWindowLong(handle.Handle, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
)).HasFlag(WINDOW_STYLE.WS_CHILD),
System\Windows\Forms\Control.cs (5)
3644
get => (WINDOW_STYLE)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
);
3645
set => PInvokeCore.SetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
, (nint)value);
10721
int styleFlags = (int)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
);
10722
PInvokeCore.SetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
, value ? styleFlags | flag : styleFlags & ~flag);
11150
if (((WINDOW_STYLE)PInvokeCore.GetWindowLong(lastParentHandle, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
))
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (2)
1128
WINDOW_LONG_PTR_INDEX.
GWL_STYLE
,
1129
PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
));
System\Windows\Forms\Controls\ListView\ListView.cs (3)
639
int currentStyle = (int)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
);
4555
int style = (int)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
);
4557
PInvokeCore.SetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
, style);
System\Windows\Forms\Controls\TreeView\TreeView.cs (5)
315
int currentStyle = unchecked((int)((long)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
)));
1869
int style = (int)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
);
1871
PInvokeCore.SetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
, style);
1876
int style = (int)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
);
1878
PInvokeCore.SetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
, style);
System\Windows\Forms\NativeWindow.cs (1)
318
&& ((WINDOW_STYLE)(uint)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
)).HasFlag(WINDOW_STYLE.WS_CHILD)
System\Windows\Forms\ToolTip\ToolTip.cs (2)
726
int style = unchecked((int)((long)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
)));
728
PInvokeCore.SetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
, style);
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (1)
220
int style = (int)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Automation\UiaTextProvider.cs (1)
79
(WINDOW_STYLE)PInvokeCore.GetWindowLong(hWnd, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
);
System.Windows.Forms.Tests (1)
TextBoxBaseTests.cs (1)
2406
WINDOW_STYLE style = (WINDOW_STYLE)PInvokeCore.GetWindowLong(control, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
);