7 writes to HWnd
System.Windows.Forms (5)
System\Windows\Forms\ActiveX\AxHost.cs (1)
1700
msg.
HWnd
= win32Message.hwnd;
System\Windows\Forms\Application.cs (1)
819
message.
HWnd
= msg.hwnd;
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (1)
629
m.
HWnd
= activeToolStrip.Handle;
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
265
msg.
HWnd
= win32Message.hwnd;
System\Windows\Forms\Form.cs (1)
4721
msg.
HWnd
= win32Message.hwnd;
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Message.cs (1)
104
HWnd
= hWnd,
WindowsFormsIntegration (1)
System\Windows\Integration\Convert.cs (1)
335
HWnd
= msg.hwnd,
35 references to HWnd
System.Windows.Forms (21)
System\Windows\Forms\Application.ThreadContext.cs (1)
878
msg.hwnd = (HWND)message.
HWnd
;
System\Windows\Forms\Control.cs (2)
8683
/// on the <see cref="Control"/> referenced by the <paramref name="msg"/> <see cref="Message.
HWnd
"/>. It
8700
target ??= FromChildHandle(message.
HWnd
);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (11)
1400
if (DropDownStyle == ComboBoxStyle.Simple && m.
HWnd
== _childListBox!.Handle)
1419
if (DropDownStyle == ComboBoxStyle.Simple && m.
HWnd
== _childListBox!.Handle)
1459
if (DropDownStyle == ComboBoxStyle.Simple && m.
HWnd
== _childListBox!.Handle)
1484
if (DropDownStyle == ComboBoxStyle.Simple && m.
HWnd
== _childListBox!.Handle)
1512
OnImeContextStatusChanged(m.
HWnd
);
1535
ImeContext.SetImeStatus(CachedImeMode, m.
HWnd
);
1559
if (!DesignMode && _childEdit is not null && m.
HWnd
== _childEdit.Handle)
1576
if (_childEdit is not null && m.
HWnd
== _childEdit.Handle)
1756
&& m.
HWnd
== _childEdit.Handle && PARAM.LOWORD(m.LParamInternal) == (int)PInvoke.HTCLIENT)
1820
if (m.
HWnd
== _childEdit.Handle)
1824
else if (m.
HWnd
== _dropDownHandle)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
1531
if (m.
HWnd
== Handle)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
2185
if (m.
HWnd
== Handle)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
3234
if (m.
HWnd
!= Handle)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (2)
748
Control? activeControl = Control.FromChildHandle(m.
HWnd
);
881
Control? intendedControl = Control.FromHandle(m.
HWnd
);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (2)
258
if (Control.FromHandle(m.
HWnd
) is ToolStrip toolStrip && !toolStrip.IsDropDown)
567
Control? control = Control.FromChildHandle(m.
HWnd
);
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
309
using Graphics g = Graphics.FromHwnd(m.
HWnd
);
System\Windows\Forms\Design\ControlDesigner.ChildSubClass.cs (3)
37
_designer.RemoveSubclassedWindow(m.
HWnd
);
50
Debug.Assert(m.
HWnd
== Handle, "Message handle differs from target handle");
58
_designer.SetUnhandledException(Control.FromChildHandle(m.
HWnd
), ex);
System\Windows\Forms\Design\ControlDesigner.cs (3)
1811
if (m.
HWnd
== Control.Handle)
2078
using Graphics graphics = Graphics.FromHwnd(m.
HWnd
);
2080
if (m.
HWnd
!= Control.Handle)
System\Windows\Forms\Design\PbrsForward.cs (1)
97
if (hwnd != m.
HWnd
)
System.Windows.Forms.Primitives (4)
System\Windows\Forms\Message.cs (4)
25
internal readonly HWND HWND => (HWND)
HWnd
;
125
=>
HWnd
== other.
HWnd
135
public override readonly int GetHashCode() => HashCode.Combine(
HWnd
, Msg);
WindowsFormsIntegration (2)
System\Windows\Integration\ApplicationInterop.cs (1)
105
SWF.Control control = SWF.Control.FromChildHandle(m.
HWnd
);
System\Windows\Integration\Convert.cs (1)
173
hwnd = msg.
HWnd
,