7 writes to hwnd
System.Windows.Forms (7)
winforms\Managed\System\WinForms\Application.cs (2)
879
msg.
hwnd
= message.HWnd;
3613
msg.
hwnd
= m.HWnd;
winforms\Managed\System\WinForms\AxHost.cs (2)
2045
win32Message.
hwnd
= msg.HWnd;
2114
msg.
hwnd
= (ContainingControl == null) ? IntPtr.Zero : ContainingControl.Handle;
winforms\Managed\System\WinForms\Form.cs (1)
5291
win32Message.
hwnd
= msg.HWnd;
winforms\Managed\System\WinForms\WebBrowserBase.cs (2)
305
win32Message.
hwnd
= msg.HWnd;
392
msg.
hwnd
= IntPtr.Zero;
21 references to hwnd
System.Windows.Forms (21)
winforms\Managed\System\WinForms\Application.cs (9)
886
message.HWnd = msg.
hwnd
;
2110
if (msg.
hwnd
!= IntPtr.Zero && SafeNativeMethods.IsWindowUnicode(new HandleRef(null, msg.
hwnd
))) {
3535
if (msg.
hwnd
!= IntPtr.Zero && SafeNativeMethods.IsWindowUnicode(new HandleRef(null, msg.
hwnd
))) {
3605
Message m = Message.Create(msg.
hwnd
, msg.message, msg.wParam, msg.lParam);
3663
Control target = Control.FromChildHandleInternal(msg.
hwnd
);
3666
Message m = Message.Create(msg.
hwnd
, msg.message, msg.wParam, msg.lParam);
3697
IntPtr hwndRoot = UnsafeNativeMethods.GetAncestor(new HandleRef(null, msg.
hwnd
), NativeMethods.GA_ROOT);
winforms\Managed\System\WinForms\AxHost.cs (2)
2057
msg.HWnd = win32Message.
hwnd
;
4125
msg.HWnd = pMsg.
hwnd
;
winforms\Managed\System\WinForms\Control.cs (6)
16568
if (msg.
hwnd
!= control.Handle && msg.message >= NativeMethods.WM_MOUSEFIRST && msg.message <= NativeMethods.WM_MOUSELAST) {
16572
IntPtr hwndMap = msg.
hwnd
== IntPtr.Zero ? hwndParent : msg.
hwnd
;
18514
Message msg = Message.Create(lpmsg.
hwnd
, lpmsg.message, lpmsg.wParam, lpmsg.lParam);
18517
Control target = Control.FromChildHandleInternal(lpmsg.
hwnd
);
18534
if (SafeNativeMethods.IsWindowUnicode(new HandleRef(null, lpmsg.
hwnd
))) {
winforms\Managed\System\WinForms\Form.cs (1)
5302
msg.HWnd = win32Message.
hwnd
;
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
861
SafeNativeMethods.UpdateWindow(new HandleRef(null, msg.
hwnd
));
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
328
msg.HWnd = win32Message.
hwnd
;
winforms\Managed\System\WinForms\WebBrowserSiteBase.cs (1)
175
msg.HWnd = pMsg.
hwnd
;