11 references to WS_CHILD
System.Windows.Forms (11)
winforms\Managed\System\WinForms\Application.cs (1)
1309Debug.Assert(((int)UnsafeNativeMethods.GetWindowLong(handle, NativeMethods.GWL_STYLE) & NativeMethods.WS_CHILD) != 0, "Only WS_CHILD windows should be parked.");
winforms\Managed\System\WinForms\Control.cs (3)
1883cp.Style |= NativeMethods.WS_CHILD | NativeMethods.WS_CLIPSIBLINGS; 5820if (cp.Parent == IntPtr.Zero && (cp.Style & NativeMethods.WS_CHILD) != 0) { 12804if ((style & NativeMethods.WS_CHILD) == 0) {
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
948cparams.Style = NativeMethods.WS_VISIBLE | NativeMethods.WS_CHILD;
winforms\Managed\System\WinForms\NativeWindow.cs (3)
632(unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(this, handle), NativeMethods.GWL_STYLE))) & NativeMethods.WS_CHILD) != 0 && 714if ((cp.Style & NativeMethods.WS_CHILD) != NativeMethods.WS_CHILD
winforms\Managed\System\WinForms\ToolStripDropDown.cs (3)
334cp.Style |= (TopLevel) ? NativeMethods.WS_POPUP : NativeMethods.WS_CHILD; 1773styleFlags &= ~NativeMethods.WS_CHILD; 1779styleFlags |= NativeMethods.WS_CHILD;