The ChatWnd object represents a chat window in Messenger. It is sent as
parameter of OnEvent_ChatWnd* events and the collection of existing
ChatWnd objects can be obtained through Messenger.CurrentChats.
| Name |
Description |
|
EditText_SetCurSel |
Selects text in the typing area of the chat window. |
|
EditText_ReplaceSel |
Replaces the text currently selected in the typing area by a
new one. |
|
EditText_GetCurSelStart |
Returns the index of the first character currently selected
in the typing area. |
|
EditText_GetCurSelEnd |
Returns the index following the last character currently
selected in the typing area. |
| SendMessage |
Sends a message to the contacts currently present in the
chat window. |
| SendFile |
Sends a file the current contact in the chat window. |
| AddContact |
Invites a contact to join the current conversation. |
|
HistoryText_GetCurSelStart |
Returns the index of the first character currently selected
in the message history area. |
|
HistoryText_GetCurSelEnd |
Returns the index following the last character currently
selected in the message history area. |
|
HistoryText_GetTextRange |
Returns a portion of text from the message history area. |
|
DisplayInfoMessage |
Displays a message in the "information area" of the chat window. |
|
ResetInfoMessage |
Resets the message currently displayed in the "information area" of the chat window. |