20 references to WS
PresentationFramework (20)
System\Windows\Shell\WindowChromeWorker.cs (14)
368bool modified = _ModifyStyle(WS.VISIBLE, 0); 378_ModifyStyle(0, WS.VISIBLE); 615private bool _ModifyStyle(WS removeStyle, WS addStyle) 618var dwStyle = (WS)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE).ToInt32(); 619var dwNewStyle = (dwStyle & ~removeStyle) | addStyle; 674bool modified = _ModifyStyle(WS.VISIBLE, 0); 678var dwStyle = (WS)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE).ToInt32(); 680bool canMinimize = Utility.IsFlagSet((int)dwStyle, (int)WS.MINIMIZEBOX); 681bool canMaximize = Utility.IsFlagSet((int)dwStyle, (int)WS.MAXIMIZEBOX); 682bool canSize = Utility.IsFlagSet((int)dwStyle, (int)WS.THICKFRAME); 712_ModifyStyle(0, WS.VISIBLE);
System\Windows\Standard\MessageWindow.cs (1)
41public MessageWindow(CS classStyle, WS style, WS_EX exStyle, Rect location, string name, WndProc callback)
System\Windows\Standard\NativeMethods.cs (5)
1710public WS style; 2288private static extern bool _AdjustWindowRectEx(ref RECT lpRect, WS dwStyle, [MarshalAs(UnmanagedType.Bool)] bool bMenu, WS_EX dwExStyle); 2290public static RECT AdjustWindowRectEx(RECT lpRect, WS dwStyle, bool bMenu, WS_EX dwExStyle) 2459WS dwStyle, 2473WS dwStyle,