7 references to ActiveHwnd
System.Windows.Forms (7)
winforms\Managed\System\WinForms\ToolStripDropDown.cs (3)
1672
UnsafeNativeMethods.SetWindowLong(new HandleRef(this, Handle), NativeMethods.GWL_HWNDPARENT, ToolStripManager.ModalMenuFilter.
ActiveHwnd
);
2229
Debug.WriteLineIf(DropDownActivateDebug.TraceVerbose, "Sending WM_NCACTIVATE to toplevel hwnd" + ToolStripManager.ModalMenuFilter.
ActiveHwnd
);
2231
HandleRef activeHwndHandleRef = ToolStripManager.ModalMenuFilter.
ActiveHwnd
;
winforms\Managed\System\WinForms\ToolStripManager.cs (4)
914
if (
ActiveHwnd
.Handle != IntPtr.Zero) {
916
Control control = Control.FromHandleInternal(
ActiveHwnd
.Handle);
1259
&& !IsChildOrSameWindow(hwndCurrentActiveWindow,
ActiveHwnd
)) { // and NOT a child of the active hwnd
1301
else if (!IsChildOrSameWindow(
ActiveHwnd
, new HandleRef(null, m.HWnd))) {