18 references to GWL_STYLE
System.Windows.Forms (18)
winforms\Managed\System\WinForms\Application.cs (1)
1309
Debug.Assert(((int)UnsafeNativeMethods.GetWindowLong(handle, NativeMethods.
GWL_STYLE
) & NativeMethods.WS_CHILD) != 0, "Only WS_CHILD windows should be parked.");
winforms\Managed\System\WinForms\Control.cs (5)
4485
return unchecked((int)(long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.
GWL_STYLE
));
4488
UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.
GWL_STYLE
, new HandleRef(null, (IntPtr)value));
12418
int styleFlags = unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.
GWL_STYLE
)));
12419
UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.
GWL_STYLE
, new HandleRef(null, (IntPtr)(value? styleFlags | flag: styleFlags & ~flag)));
12802
int style = unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(null, lastParentHandle), NativeMethods.
GWL_STYLE
)));
winforms\Managed\System\WinForms\ListView.cs (3)
688
int currentStyle = unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.
GWL_STYLE
)));
4281
int style = unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.
GWL_STYLE
)));
4283
UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.
GWL_STYLE
, new HandleRef(null, (IntPtr)style));
winforms\Managed\System\WinForms\NativeWindow.cs (1)
632
(unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, handle), NativeMethods.
GWL_STYLE
))) & NativeMethods.WS_CHILD) != 0 &&
winforms\Managed\System\WinForms\ToolTip.cs (3)
898
int style = unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.
GWL_STYLE
)));
900
UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.
GWL_STYLE
, new HandleRef(null, (IntPtr)style));
1210
bool isWindowMirrored = ((unchecked((int)(long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, hWnd), NativeMethods.
GWL_STYLE
)) & NativeMethods.WS_EX_LAYOUTRTL) == NativeMethods.WS_EX_LAYOUTRTL);
winforms\Managed\System\WinForms\TreeView.cs (5)
358
int currentStyle = unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.
GWL_STYLE
)));
1992
int style = unchecked((int)(UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.
GWL_STYLE
)));
1994
UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.
GWL_STYLE
, new HandleRef(null, (IntPtr)style));
1998
int style = unchecked((int)(UnsafeNativeMethods.GetWindowLong(new HandleRef(this, Handle), NativeMethods.
GWL_STYLE
)));
2000
UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.
GWL_STYLE
, new HandleRef(null, (IntPtr)style));