17 references to SendMessage
System.Windows.Forms (16)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (4)
956
PInvokeCore.
SendMessage
(_childEdit, PInvokeCore.EM_REPLACESEL, (WPARAM)(-1), value ?? string.Empty);
2160
int insertIndex = (int)PInvokeCore.
SendMessage
(this, PInvoke.CB_ADDSTRING, (WPARAM)0, GetItemText(item));
2211
int insertIndex = (int)PInvokeCore.
SendMessage
(this, PInvoke.CB_INSERTSTRING, (WPARAM)index, GetItemText(item));
3444
PInvokeCore.
SendMessage
(_childEdit, PInvokeCore.WM_SETTEXT, 0, s);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (2)
445
PInvokeCore.
SendMessage
(this, PInvoke.DTM_SETFORMATW, 0, _customFormat);
986
PInvokeCore.
SendMessage
(this, PInvoke.DTM_SETFORMATW, 0, _customFormat);
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
1534
int insertIndex = (int)PInvokeCore.
SendMessage
(this, PInvoke.LB_ADDSTRING, 0, GetItemText(item));
1589
int insertIndex = (int)PInvokeCore.
SendMessage
(this, PInvoke.LB_INSERTSTRING, (uint)index, GetItemText(item));
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
2810
PInvokeCore.
SendMessage
(this, PInvokeCore.WM_SETTEXT, 0, string.Empty);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
1014
PInvokeCore.
SendMessage
(this, PInvokeCore.EM_REPLACESEL, 0, text);
1022
PInvokeCore.
SendMessage
(this, PInvokeCore.EM_REPLACESEL, (WPARAM)(-1), text);
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (2)
498
PInvokeCore.
SendMessage
(hwnd, PInvoke.BFFM_SETEXPANDED, (WPARAM)(BOOL)true, instance._initialDirectory);
504
PInvokeCore.
SendMessage
(hwnd, PInvoke.BFFM_SETSELECTIONW, (WPARAM)(BOOL)true, instance.SelectedPath);
System\Windows\Forms\ToolTip\ToolTip.cs (3)
437
PInvokeCore.
SendMessage
(this, PInvoke.TTM_SETTITLEW, (uint)_toolTipIcon, title);
465
PInvokeCore.
SendMessage
(this, PInvoke.TTM_SETTITLEW, (uint)_toolTipIcon, _toolTipTitle);
787
PInvokeCore.
SendMessage
(this, PInvoke.TTM_SETTITLEW, (WPARAM)(int)_toolTipIcon, title);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ListBoxDesigner.cs (1)
187
PInvokeCore.
SendMessage
(listBox, PInvoke.LB_ADDSTRING, 0, name);