22 references to WS
PresentationFramework (22)
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (16)
571
var
style = (
WS
)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE);
637
bool modified = _ModifyStyle(
WS
.VISIBLE, 0);
647
_ModifyStyle(0,
WS
.VISIBLE);
997
private bool _ModifyStyle(
WS
removeStyle,
WS
addStyle)
1000
var
dwStyle = (
WS
)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE).ToInt32();
1001
var
dwNewStyle = (dwStyle & ~removeStyle) | addStyle;
1068
bool modified = _ModifyStyle(
WS
.VISIBLE, 0);
1072
var
dwStyle = (
WS
)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE).ToInt32();
1074
bool canMinimize = Utility.IsFlagSet((int)dwStyle, (int)
WS
.MINIMIZEBOX);
1075
bool canMaximize = Utility.IsFlagSet((int)dwStyle, (int)
WS
.MAXIMIZEBOX);
1076
bool canSize = Utility.IsFlagSet((int)dwStyle, (int)
WS
.THICKFRAME);
1106
_ModifyStyle(0,
WS
.VISIBLE);
src\Framework\System\Windows\Standard\MessageWindow.cs (1)
70
public MessageWindow(CS classStyle,
WS
style, WS_EX exStyle, Rect location, string name, WndProc callback)
src\Framework\System\Windows\Standard\NativeMethods.cs (5)
1814
public
WS
style;
2418
private static extern bool _AdjustWindowRectEx(ref RECT lpRect,
WS
dwStyle, [MarshalAs(UnmanagedType.Bool)] bool bMenu, WS_EX dwExStyle);
2424
public static RECT AdjustWindowRectEx(RECT lpRect,
WS
dwStyle, bool bMenu, WS_EX dwExStyle)
2679
WS
dwStyle,
2698
WS
dwStyle,