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