10 references to SendMessage
System.Windows.Forms (10)
winforms\Managed\System\WinForms\Control.cs (1)
14425
result = UnsafeNativeMethods.
SendMessage
(new HandleRef(null, hwndFocus),
winforms\Managed\System\WinForms\Form.cs (1)
3702
UnsafeNativeMethods.
SendMessage
(TaskbarOwner, NativeMethods.WM_SETICON, NativeMethods.ICON_BIG, icon.Handle);
winforms\Managed\System\WinForms\ListView.cs (1)
4761
int retval = (int)UnsafeNativeMethods.
SendMessage
(new HandleRef(this, this.Handle), NativeMethods.LVM_REMOVEGROUP, group.ID, IntPtr.Zero);
winforms\Managed\System\WinForms\TreeNode.cs (7)
712
IntPtr next = UnsafeNativeMethods.
SendMessage
(new HandleRef(tv, tv.Handle),
840
IntPtr prev = UnsafeNativeMethods.
SendMessage
(new HandleRef(tv, tv.Handle),
1208
UnsafeNativeMethods.
SendMessage
(new HandleRef(tv, tv.Handle), NativeMethods.TVM_EDITLABEL, 0, handle);
1382
UnsafeNativeMethods.
SendMessage
(new HandleRef(tv, tv.Handle), NativeMethods.TVM_EXPAND, NativeMethods.TVE_COLLAPSE, Handle);
1554
UnsafeNativeMethods.
SendMessage
(new HandleRef(tv, tv.Handle), NativeMethods.TVM_ENSUREVISIBLE, 0, Handle);
1570
UnsafeNativeMethods.
SendMessage
(new HandleRef(tv, tv.Handle), NativeMethods.TVM_EXPAND, NativeMethods.TVE_EXPAND, Handle);
1806
UnsafeNativeMethods.
SendMessage
(new HandleRef(tv, tv.Handle), NativeMethods.TVM_DELETEITEM, 0, handle);