11 references to WS_CHILD
System.Windows.Forms (11)
winforms\Managed\System\WinForms\Application.cs (1)
1309
Debug.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)
1883
cp.Style |= NativeMethods.
WS_CHILD
| NativeMethods.WS_CLIPSIBLINGS;
5820
if (cp.Parent == IntPtr.Zero && (cp.Style & NativeMethods.
WS_CHILD
) != 0) {
12804
if ((style & NativeMethods.
WS_CHILD
) == 0) {
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
948
cparams.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 &&
714
if ((cp.Style & NativeMethods.
WS_CHILD
) != NativeMethods.
WS_CHILD
winforms\Managed\System\WinForms\ToolStripDropDown.cs (3)
334
cp.Style |= (TopLevel) ? NativeMethods.WS_POPUP : NativeMethods.
WS_CHILD
;
1773
styleFlags &= ~NativeMethods.
WS_CHILD
;
1779
styleFlags |= NativeMethods.
WS_CHILD
;