22 references to GWL_STYLE
System.Windows.Forms (20)
System\Windows\Forms\Application.cs (1)
1388
((WINDOW_STYLE)PInvokeCore.GetWindowLong(handle.Handle, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
)).HasFlag(WINDOW_STYLE.WS_CHILD),
System\Windows\Forms\Control.cs (5)
3816
get => (WINDOW_STYLE)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
);
3817
set => PInvokeCore.SetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
, (nint)value);
11447
int styleFlags = (int)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
);
11448
PInvokeCore.SetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
, value ? styleFlags | flag : styleFlags & ~flag);
11876
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
);
4557
int style = (int)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
);
4559
PInvokeCore.SetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
, style);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1019
WINDOW_LONG_PTR_INDEX.
GWL_STYLE
);
System\Windows\Forms\Controls\TreeView\TreeView.cs (5)
346
int currentStyle = unchecked((int)((long)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
)));
2014
int style = (int)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
);
2016
PInvokeCore.SetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
, style);
2021
int style = (int)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
);
2023
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)
730
int style = unchecked((int)((long)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.
GWL_STYLE
)));
732
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
);