17 references to SendMessage
System.Windows.Forms (17)
winforms\Managed\System\WinForms\ComboBox.cs (1)
1930
UnsafeNativeMethods.
SendMessage
(new HandleRef(this, Handle), NativeMethods.WM_CONTEXTMENU, m.WParam, m.LParam);
winforms\Managed\System\WinForms\Control.cs (9)
4219
UnsafeNativeMethods.
SendMessage
(new HandleRef(TopMostParent, TopMostParent.Handle),
4262
UnsafeNativeMethods.
SendMessage
(new HandleRef(TopMostParent, TopMostParent.Handle),
6174
UnsafeNativeMethods.
SendMessage
(new HandleRef(this, this.Handle), NativeMethods.WM_PRINT, (IntPtr)hDc,
10824
UnsafeNativeMethods.
SendMessage
(
11745
return UnsafeNativeMethods.
SendMessage
(new HandleRef(this, Handle), msg, (IntPtr)wparam, lparam);
11750
return UnsafeNativeMethods.
SendMessage
(new HandleRef(this, Handle), msg, wparam, lparam);
11755
return UnsafeNativeMethods.
SendMessage
(new HandleRef(this, Handle), msg, wparam, (IntPtr)lparam);
13586
m.Result = UnsafeNativeMethods.
SendMessage
(new HandleRef(null, nmhdr->hwndFrom), NativeMethods.WM_REFLECT + m.Msg, m.WParam, m.LParam);
13590
UnsafeNativeMethods.
SendMessage
(new HandleRef(null, nmhdr->hwndFrom), NativeMethods.WM_REFLECT + m.Msg, m.WParam, m.LParam);
winforms\Managed\System\WinForms\FileDialog.cs (1)
760
int sizeNeeded = (int)UnsafeNativeMethods.
SendMessage
(new HandleRef(this, dialogHWnd), 1124 /*CDM_GETSPEC*/, System.IntPtr.Zero, System.IntPtr.Zero);
winforms\Managed\System\WinForms\Form.cs (3)
6171
UnsafeNativeMethods.
SendMessage
(new HandleRef(null, hWndCapture), NativeMethods.WM_CANCELMODE, IntPtr.Zero, IntPtr.Zero);
6547
UnsafeNativeMethods.
SendMessage
(new HandleRef(ctlClient, ctlClient.Handle), NativeMethods.WM_MDISETMENU, dummyMenu.Handle, IntPtr.Zero);
6553
UnsafeNativeMethods.
SendMessage
(new HandleRef(ctlClient, ctlClient.Handle), NativeMethods.WM_MDISETMENU, menu.Handle, IntPtr.Zero);
winforms\Managed\System\WinForms\TabControl.cs (1)
1754
UnsafeNativeMethods.
SendMessage
(new HandleRef(this, Handle), NativeMethods.TCM_SETCURSEL, (IntPtr)index, IntPtr.Zero);
winforms\Managed\System\WinForms\ToolStrip.cs (1)
2843
UnsafeNativeMethods.
SendMessage
(new HandleRef(this, this.Handle), NativeMethods.WM_PRINT, (IntPtr)imageHdc,
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
2233
UnsafeNativeMethods.
SendMessage
(activeHwndHandleRef, NativeMethods.WM_NCACTIVATE, (IntPtr)1, NativeMethods.InvalidIntPtr);