20 references to WS
PresentationFramework (20)
System\Windows\Shell\WindowChromeWorker.cs (14)
352bool modified = _ModifyStyle(WS.VISIBLE, 0); 362_ModifyStyle(0, WS.VISIBLE); 599private bool _ModifyStyle(WS removeStyle, WS addStyle) 602var dwStyle = (WS)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE).ToInt32(); 603var dwNewStyle = (dwStyle & ~removeStyle) | addStyle; 658bool modified = _ModifyStyle(WS.VISIBLE, 0); 662var dwStyle = (WS)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE).ToInt32(); 664bool canMinimize = Utility.IsFlagSet((int)dwStyle, (int)WS.MINIMIZEBOX); 665bool canMaximize = Utility.IsFlagSet((int)dwStyle, (int)WS.MAXIMIZEBOX); 666bool canSize = Utility.IsFlagSet((int)dwStyle, (int)WS.THICKFRAME); 696_ModifyStyle(0, WS.VISIBLE);
System\Windows\Standard\MessageWindow.cs (1)
37public MessageWindow(CS classStyle, WS style, WS_EX exStyle, Rect location, string name, WndProc callback)
System\Windows\Standard\NativeMethods.cs (5)
1697public WS style; 2280private static extern bool _AdjustWindowRectEx(ref RECT lpRect, WS dwStyle, [MarshalAs(UnmanagedType.Bool)] bool bMenu, WS_EX dwExStyle); 2282public static RECT AdjustWindowRectEx(RECT lpRect, WS dwStyle, bool bMenu, WS_EX dwExStyle) 2451WS dwStyle, 2465WS dwStyle,