20 references to WS
PresentationFramework (20)
System\Windows\Shell\WindowChromeWorker.cs (14)
362bool modified = _ModifyStyle(WS.VISIBLE, 0); 372_ModifyStyle(0, WS.VISIBLE); 609private bool _ModifyStyle(WS removeStyle, WS addStyle) 612var dwStyle = (WS)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE).ToInt32(); 613var dwNewStyle = (dwStyle & ~removeStyle) | addStyle; 668bool modified = _ModifyStyle(WS.VISIBLE, 0); 672var dwStyle = (WS)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE).ToInt32(); 674bool canMinimize = Utility.IsFlagSet((int)dwStyle, (int)WS.MINIMIZEBOX); 675bool canMaximize = Utility.IsFlagSet((int)dwStyle, (int)WS.MAXIMIZEBOX); 676bool canSize = Utility.IsFlagSet((int)dwStyle, (int)WS.THICKFRAME); 706_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)
1704public WS style; 2287private static extern bool _AdjustWindowRectEx(ref RECT lpRect, WS dwStyle, [MarshalAs(UnmanagedType.Bool)] bool bMenu, WS_EX dwExStyle); 2289public static RECT AdjustWindowRectEx(RECT lpRect, WS dwStyle, bool bMenu, WS_EX dwExStyle) 2458WS dwStyle, 2472WS dwStyle,