26 references to HWND
System.Windows.Forms (15)
System\Windows\Forms\Control.cs (1)
11759HWND dialogItem = PInvoke.GetDlgItem(m.HWND, controlId);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.RestoreFocusMessageFilter.cs (3)
37if (!PInvoke.IsChild(_ownerToolStrip, m.HWND)) 40if (rootHwnd == m.HWND || PInvoke.IsChild(rootHwnd, m.HWND))
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (2)
565DPI_AWARENESS_CONTEXT context = GetDpiAwarenessContextForWindow(m.HWND); 616ProcessMouseButtonPressed(m.HWND, PARAM.ToPoint(m.LParamInternal));
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
234using GetDcScope hdc = new(m.HWND, HRGN.Null, GET_DCX_FLAGS.DCX_WINDOW | (GET_DCX_FLAGS)0x00010000 /* DCX_USESTYLE */);
System\Windows\Forms\Form.cs (2)
3505m.HWND, 3515m.ResultInternal = PInvoke.DefMDIChildProc(m.HWND, (uint)m.Msg, m.WParamInternal, m.LParamInternal);
System\Windows\Forms\NativeWindow.cs (3)
507m.ResultInternal = PInvokeCore.DefWindowProc(m.HWND, (uint)m.Msg, m.WParamInternal, m.LParamInternal); 513m.HWND, 520m.ResultInternal = PreviousWindow.Callback(m.HWND, m.MsgInternal, m.WParamInternal, m.LParamInternal);
System\Windows\Forms\Timer.cs (2)
344Debug.Assert(m.HWND == HWND && !HWND.IsNull, "Timer getting messages for other windows?"); 359StopTimer(m.HWND, destroyHwnd: true);
System\Windows\Forms\WindowSubclassHandler.cs (1)
230m.HWND,
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (2)
295PInvoke.GetUpdateRgn(m.HWND, hrgn, true); 300PInvoke.GetUpdateRect(m.HWND, &clip, true);
System\Windows\Forms\Design\ControlDesigner.cs (6)
399=> m.ResultInternal = PInvokeCore.DefWindowProc(m.HWND, (uint)m.MsgInternal, m.WParamInternal, m.LParamInternal); 2067PInvoke.GetUpdateRgn(m.HWND, hrgn, false); 2068PInvoke.GetUpdateRect(m.HWND, &clip, false); 2084PInvokeCore.MapWindowPoints(m.HWND, Control, ref point); 2086PInvokeCore.MapWindowPoints(m.HWND, Control, ref clip); 2099using BeginPaintScope scope = new(m.HWND);
System.Windows.Forms.Primitives (3)
System\Windows\Forms\Internals\MessageDecoder.cs (1)
13message.HWND,
System\Windows\Forms\Message.cs (2)
82readonly HWND IHandle<HWND>.Handle => HWND; 141hwnd = HWND,