15 references to SendMessage
System.Windows.Forms (15)
winforms\Managed\System\WinForms\ComboBox.cs (2)
2331
int insertIndex = unchecked( (int) (long)
SendMessage
(NativeMethods.CB_ADDSTRING, 0, GetItemText(item)));
2369
int insertIndex = unchecked( (int) (long)
SendMessage
(NativeMethods.CB_INSERTSTRING, index, GetItemText(item)));
winforms\Managed\System\WinForms\DateTimePicker.cs (2)
518
SendMessage
(NativeMethods.DTM_SETFORMAT, 0, customFormat);
1158
SendMessage
(NativeMethods.DTM_SETFORMAT, 0, customFormat);
winforms\Managed\System\WinForms\ListBox.cs (2)
1583
int insertIndex = unchecked( (int) (long)
SendMessage
(NativeMethods.LB_ADDSTRING, 0, GetItemText(item)));
1626
int insertIndex = unchecked( (int) (long)
SendMessage
(NativeMethods.LB_INSERTSTRING, index, GetItemText(item)));
winforms\Managed\System\WinForms\RichTextBox.cs (1)
2987
SendMessage
(NativeMethods.WM_SETTEXT, 0, "");
winforms\Managed\System\WinForms\StatusBar.cs (3)
797
SendMessage
(NativeMethods.SB_SETTEXT, 0, "");
811
SendMessage
(NativeMethods.SB_SETTEXT, 0, null);
869
SendMessage
(NativeMethods.SB_SETTEXT, wparam, simpleText);
winforms\Managed\System\WinForms\TextBoxBase.cs (2)
1137
SendMessage
(NativeMethods.EM_REPLACESEL, 0, text);
1143
SendMessage
(NativeMethods.EM_REPLACESEL, /*undoable*/ -1, text);
winforms\Managed\System\WinForms\ToolBar.cs (1)
1366
buttons[x].stringIndex =
SendMessage
(NativeMethods.TB_ADDSTRING, 0, addString);
winforms\Managed\System\WinForms\TreeView.cs (2)
2661
SendMessage
(NativeMethods.TVM_SELECTITEM, NativeMethods.TVGN_DROPHILITE, null);
3127
SendMessage
(NativeMethods.TVM_SELECTITEM, NativeMethods.TVGN_DROPHILITE, null);