20 references to WS
PresentationFramework (20)
System\Windows\Shell\WindowChromeWorker.cs (14)
363
bool modified = _ModifyStyle(
WS
.VISIBLE, 0);
373
_ModifyStyle(0,
WS
.VISIBLE);
610
private bool _ModifyStyle(
WS
removeStyle,
WS
addStyle)
613
var
dwStyle = (
WS
)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE).ToInt32();
614
var
dwNewStyle = (dwStyle & ~removeStyle) | addStyle;
669
bool modified = _ModifyStyle(
WS
.VISIBLE, 0);
673
var
dwStyle = (
WS
)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE).ToInt32();
675
bool canMinimize = Utility.IsFlagSet((int)dwStyle, (int)
WS
.MINIMIZEBOX);
676
bool canMaximize = Utility.IsFlagSet((int)dwStyle, (int)
WS
.MAXIMIZEBOX);
677
bool canSize = Utility.IsFlagSet((int)dwStyle, (int)
WS
.THICKFRAME);
707
_ModifyStyle(0,
WS
.VISIBLE);
System\Windows\Standard\MessageWindow.cs (1)
38
public MessageWindow(CS classStyle,
WS
style, WS_EX exStyle, Rect location, string name, WndProc callback)
System\Windows\Standard\NativeMethods.cs (5)
1705
public
WS
style;
2283
private static extern bool _AdjustWindowRectEx(ref RECT lpRect,
WS
dwStyle, [MarshalAs(UnmanagedType.Bool)] bool bMenu, WS_EX dwExStyle);
2285
public static RECT AdjustWindowRectEx(RECT lpRect,
WS
dwStyle, bool bMenu, WS_EX dwExStyle)
2454
WS
dwStyle,
2468
WS
dwStyle,