7 writes to HWnd
System.Windows.Forms (7)
winforms\Managed\System\WinForms\Application.cs (1)
886
message.
HWnd
= msg.hwnd;
winforms\Managed\System\WinForms\AxHost.cs (2)
2057
msg.
HWnd
= win32Message.hwnd;
4125
msg.
HWnd
= pMsg.hwnd;
winforms\Managed\System\WinForms\Form.cs (1)
5302
msg.
HWnd
= win32Message.hwnd;
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
1352
m.
HWnd
= activeToolStrip.Handle;
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
328
msg.
HWnd
= win32Message.hwnd;
winforms\Managed\System\WinForms\WebBrowserSiteBase.cs (1)
175
msg.
HWnd
= pMsg.hwnd;
44 references to HWnd
System.Windows.Forms (43)
winforms\Managed\System\WinForms\Application.cs (2)
879
msg.hwnd = message.
HWnd
;
3613
msg.hwnd = m.
HWnd
;
winforms\Managed\System\WinForms\AxHost.cs (1)
2045
win32Message.hwnd = msg.
HWnd
;
winforms\Managed\System\WinForms\ComboBox.cs (11)
1633
if (DropDownStyle == ComboBoxStyle.Simple && m.
HWnd
== childListBox.Handle) {
1646
if (DropDownStyle == ComboBoxStyle.Simple && m.
HWnd
== childListBox.Handle) {
1676
if (DropDownStyle == ComboBoxStyle.Simple && m.
HWnd
== childListBox.Handle) {
1695
if (DropDownStyle == ComboBoxStyle.Simple && m.
HWnd
== childListBox.Handle) {
1715
OnImeContextStatusChanged( m.
HWnd
);
1735
ImeContext.SetImeStatus(CachedImeMode, m.
HWnd
);
1755
if (!DesignMode && (childEdit != null && m.
HWnd
== childEdit.Handle) && !LocalAppContextSwitches.EnableLegacyIMEFocusInComboBox) {
1768
if (childEdit != null && m.
HWnd
== childEdit.Handle) {
1947
if (Cursor != DefaultCursor && childEdit != null && m.
HWnd
== childEdit.Handle && NativeMethods.Util.LOWORD(m.LParam) == NativeMethods.HTCLIENT) {
1998
if (m.
HWnd
== childEdit.Handle) {
2000
} else if (AccessibilityImprovements.Level3 && m.
HWnd
== dropDownHandle) {
winforms\Managed\System\WinForms\Control.cs (2)
10227
target = Control.FromChildHandleInternal(msg.
HWnd
);
13617
IntPtr p = UnsafeNativeMethods.GetDlgItem(new HandleRef(null, m.
HWnd
), ctrlId);
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
1662
if (m.
HWnd
== Handle) {
winforms\Managed\System\WinForms\Form.cs (3)
3778
m.Result = UnsafeNativeMethods.DefFrameProc(m.
HWnd
, ctlClient.Handle, m.Msg, m.WParam, m.LParam);
3781
m.Result = UnsafeNativeMethods.DefMDIChildProc(m.
HWnd
, m.Msg, m.WParam, m.LParam);
5291
win32Message.hwnd = msg.
HWnd
;
winforms\Managed\System\WinForms\MessageDecoder.cs (1)
359
return ToString(message.
HWnd
, message.Msg, message.WParam, message.LParam, message.Result);
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
2386
if (m.
HWnd
== Handle) {
winforms\Managed\System\WinForms\NativeWindow.cs (3)
833
m.Result = UnsafeNativeMethods.DefWindowProc(m.
HWnd
, m.Msg, m.WParam, m.LParam);
836
m.Result = UnsafeNativeMethods.CallWindowProc(defWindowProc, m.
HWnd
, m.Msg, m.WParam, m.LParam);
840
m.Result = previousWindow.Callback(m.
HWnd
, m.Msg, m.WParam, m.LParam);
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
369
if (SafeNativeMethods.GetScrollInfo(new HandleRef(this, m.
HWnd
), direction, si))
winforms\Managed\System\WinForms\RichTextBox.cs (1)
3435
if (m.
HWnd
== Handle) {
winforms\Managed\System\WinForms\Timer.cs (2)
449
Debug.Assert(m.
HWnd
== Handle && Handle != IntPtr.Zero, "Timer getting messages for other windows?");
465
StopTimer(true, m.
HWnd
);
winforms\Managed\System\WinForms\ToolStrip.cs (3)
5165
if (!UnsafeNativeMethods.IsChild(new HandleRef(this, ownerToolStrip.Handle), new HandleRef(this,m.
HWnd
))) {
5167
if (rootHwnd.Handle == m.
HWnd
|| UnsafeNativeMethods.IsChild(rootHwnd, new HandleRef(this,m.
HWnd
))) {
winforms\Managed\System\WinForms\ToolStripManager.cs (9)
984
ToolStrip toolStrip = Control.FromHandleInternal(m.
HWnd
) as ToolStrip;
1273
DpiAwarenessContext context = CommonUnsafeNativeMethods.TryGetDpiAwarenessContextForWindow(m.
HWnd
);
1283
Control control = Control.FromChildHandleInternal(m.
HWnd
);
1286
if (!IsChildOrSameWindow(hwndActiveToolStrip, new HandleRef(null, m.
HWnd
))) {
1293
new HandleRef(null, m.
HWnd
)))) {
1301
else if (!IsChildOrSameWindow(ActiveHwnd, new HandleRef(null, m.
HWnd
))) {
1322
ProcessMouseButtonPressed(m.
HWnd
,
1559
Control activeControl = Control.FromChildHandleInternal(m.
HWnd
);
1701
Control intendedControl = Control.FromHandleInternal(m.
HWnd
);
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
852
HandleRef hdc = new HandleRef(this, UnsafeNativeMethods.GetWindowDC(new HandleRef(this,m.
HWnd
)));
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
305
win32Message.hwnd = msg.
HWnd
;
System.Workflow.ComponentModel (1)
AuthoringOM\Design\WorkflowView.cs (1)
2227
Control control = Control.FromHandle(m.
HWnd
);