Contents Index Topic Contents | ||
Previous Topic: OnHistoryFull Event Next Topic: OnParticipantAliasChanged Event |
OnMessage Event
Occurs when a user gets a message from a member or the chat room.
Syntax
object_OnMessage(SenderID, Message, MessageType)
Value Description object Required. An object expression that evaluates to a Chat control. SenderID A long integer that contains the participant ID of the member who sent the message, or zero if the message comes from the chat room. Message A VARIANT value that contains the message. The incoming message can be a text message (BSTR) or data (an array of bytes, shorts, longs, floats, doubles, Booleans, errors, currencies, or dates). MessageType Can be a combination of the following values.
0 A text or data message that is broadcast to all members. 1 A text or data message that is whispered to one or more members. 2 A ComicChat thought, which is text only. 4 An action, which is text only. See Also
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.