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