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