20 references to WS
PresentationFramework (20)
System\Windows\Shell\WindowChromeWorker.cs (14)
368
bool modified = _ModifyStyle(
WS
.VISIBLE, 0);
378
_ModifyStyle(0,
WS
.VISIBLE);
615
private bool _ModifyStyle(
WS
removeStyle,
WS
addStyle)
618
var
dwStyle = (
WS
)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE).ToInt32();
619
var
dwNewStyle = (dwStyle & ~removeStyle) | addStyle;
674
bool modified = _ModifyStyle(
WS
.VISIBLE, 0);
678
var
dwStyle = (
WS
)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE).ToInt32();
680
bool canMinimize = Utility.IsFlagSet((int)dwStyle, (int)
WS
.MINIMIZEBOX);
681
bool canMaximize = Utility.IsFlagSet((int)dwStyle, (int)
WS
.MAXIMIZEBOX);
682
bool canSize = Utility.IsFlagSet((int)dwStyle, (int)
WS
.THICKFRAME);
712
_ModifyStyle(0,
WS
.VISIBLE);
System\Windows\Standard\MessageWindow.cs (1)
41
public MessageWindow(CS classStyle,
WS
style, WS_EX exStyle, Rect location, string name, WndProc callback)
System\Windows\Standard\NativeMethods.cs (5)
1710
public
WS
style;
2288
private static extern bool _AdjustWindowRectEx(ref RECT lpRect,
WS
dwStyle, [MarshalAs(UnmanagedType.Bool)] bool bMenu, WS_EX dwExStyle);
2290
public static RECT AdjustWindowRectEx(RECT lpRect,
WS
dwStyle, bool bMenu, WS_EX dwExStyle)
2459
WS
dwStyle,
2473
WS
dwStyle,