OnTextMessageSent EventOnTextMessageSent Event*
*Contents  *Index  *Topic Contents
*Previous Topic: OnStateChanged Event
*Next Topic: Error Codes

OnTextMessageSent Event

Occurs whenever the user sends a text message by using the internal Send button or Whisper button.

Syntax

object_OnTextMessageSent(TextMessage, MessageType)

ValueDescription
objectRequired. An object expression that evaluates to a Chat control.
TextMessageA BSTR value that contains the text sent by the user.
MessageTypeA short integer value that indicates the type of message sent. Can be one of the following values.
0The user sent some text as a broadcast to all members.
1The user sent some text as a whisper to one or more members.

Remarks

This event is not triggered when using the SendMessage method.

See Also

UIOption


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.