22 references to WS
PresentationFramework (22)
System\Windows\Shell\WindowChromeWorker.cs (16)
486var style = (WS)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE); 540bool modified = _ModifyStyle(WS.VISIBLE, 0); 550_ModifyStyle(0, WS.VISIBLE); 860private bool _ModifyStyle(WS removeStyle, WS addStyle) 863var dwStyle = (WS)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE).ToInt32(); 864var dwNewStyle = (dwStyle & ~removeStyle) | addStyle; 919bool modified = _ModifyStyle(WS.VISIBLE, 0); 923var dwStyle = (WS)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE).ToInt32(); 925bool canMinimize = Utility.IsFlagSet((int)dwStyle, (int)WS.MINIMIZEBOX); 926bool canMaximize = Utility.IsFlagSet((int)dwStyle, (int)WS.MAXIMIZEBOX); 927bool canSize = Utility.IsFlagSet((int)dwStyle, (int)WS.THICKFRAME); 957_ModifyStyle(0, WS.VISIBLE);
System\Windows\Standard\MessageWindow.cs (1)
42public MessageWindow(CS classStyle, WS style, WS_EX exStyle, Rect location, string name, WndProc callback)
System\Windows\Standard\NativeMethods.cs (5)
1719public WS style; 2317private static extern bool _AdjustWindowRectEx(ref RECT lpRect, WS dwStyle, [MarshalAs(UnmanagedType.Bool)] bool bMenu, WS_EX dwExStyle); 2319public static RECT AdjustWindowRectEx(RECT lpRect, WS dwStyle, bool bMenu, WS_EX dwExStyle) 2505WS dwStyle, 2520WS dwStyle,