|
ChatWnd::EditText_ReplaceSel
The ChatWnd::EditText_ReplaceSel function replaces the
text currently selected in the typing area by a new one. If no text
is selected, the new text is inserted at the position of the
caret.
Syntax
EditText_ReplaceSel(
[string] Text
);
Parameters
- Text
- [string] Text that will replace the text currently
selected in the typing area.
Return Value
No value is returned by this function.
This function typically fails for one of the following
reasons:
- The ChatWnd object refers to a window that has been
destroyed.
- The edit control is disabled. See EditChangeAllowed.
Remarks
None.
Function Information
| Object |
ChatWnd |
| Availability |
Messenger Plus! Live 4.00 |
See Also
ChatWnd Object, EditText_SetCurSel.
|