18 references to SendMessage
System.Windows.Forms (18)
winforms\Managed\System\WinForms\DataGridToolTip.cs (2)
73
UnsafeNativeMethods.
SendMessage
(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_ADDTOOL, 0, toolInfo);
82
UnsafeNativeMethods.
SendMessage
(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_DELTOOL, 0, toolInfo);
winforms\Managed\System\WinForms\ErrorProvider.cs (3)
923
UnsafeNativeMethods.
SendMessage
(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_ADDTOOL, 0, toolInfo);
1135
UnsafeNativeMethods.
SendMessage
(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_DELTOOL, 0, toolInfo);
1231
UnsafeNativeMethods.
SendMessage
(new HandleRef(tipWindow, tipWindow.Handle), NativeMethods.TTM_SETTOOLINFO, 0, toolInfo);
winforms\Managed\System\WinForms\Form.cs (5)
7888
if (0 == (int)UnsafeNativeMethods.
SendMessage
(new HandleRef(window, window.Handle), NativeMethods.TTM_ADDTOOL, 0, GetTOOLINFO())) {
7930
UnsafeNativeMethods.
SendMessage
(new HandleRef(window, window.Handle), NativeMethods.TTM_TRACKACTIVATE, 0, GetTOOLINFO());
7931
UnsafeNativeMethods.
SendMessage
(new HandleRef(window, window.Handle), NativeMethods.TTM_DELTOOL, 0, GetTOOLINFO());
7932
UnsafeNativeMethods.
SendMessage
(new HandleRef(window, window.Handle), NativeMethods.TTM_ADDTOOL, 0, GetTOOLINFO());
7939
UnsafeNativeMethods.
SendMessage
(new HandleRef(window, window.Handle), NativeMethods.TTM_TRACKACTIVATE, 1, GetTOOLINFO());
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (4)
89
UnsafeNativeMethods.
SendMessage
(new HandleRef(this, Handle), NativeMethods.TTM_UPDATETIPTEXT, 0, GetTOOLINFO(controls[i]));
160
UnsafeNativeMethods.
SendMessage
(new HandleRef(this, Handle), NativeMethods.TTM_DELTOOL, 0, GetTOOLINFO((Control)sender));
209
if (0 == (int)UnsafeNativeMethods.
SendMessage
(new HandleRef(this, Handle), NativeMethods.TTM_ADDTOOL, 0, GetTOOLINFO(c))) {
230
if (0 == (int)UnsafeNativeMethods.
SendMessage
(new HandleRef(this, Handle), NativeMethods.TTM_UPDATETIPTEXT, 0, GetTOOLINFO(controls[i]))) {
winforms\Managed\System\WinForms\StatusBar.cs (4)
1783
ret = (int)UnsafeNativeMethods.
SendMessage
(new HandleRef(p.MainToolTip, p.MainToolTip.Handle), NativeMethods.TTM_ADDTOOL, 0, GetTOOLINFO(tool));
1786
ret = (int)UnsafeNativeMethods.
SendMessage
(new HandleRef(this, Handle), NativeMethods.TTM_ADDTOOL, 0, GetTOOLINFO(tool));
1795
UnsafeNativeMethods.
SendMessage
(new HandleRef(this, Handle), NativeMethods.TTM_DELTOOL, 0, GetMinTOOLINFO(tool));
1800
UnsafeNativeMethods.
SendMessage
(new HandleRef(this, Handle), NativeMethods.TTM_SETTOOLINFO, 0, GetTOOLINFO(tool));