![]() | ![]() | ![]() |
| ||
|
OnRoomTypeChanged Event
Gives the value of the new room type.
Syntax
object_OnRoomTypeChanged(NewRoomType)
Value Description object Required. An object expression that evaluates to a Chat control. NewRoomType A short integer value that equals the sum of the room type settings. Can be a combination of the following values.
1 Allows any user into the chat room. 2 Allows only hosts to change the topic of the chat room. 4 Allows only users who logged on to this server to enter the chat room. 8 Disables whispering in the chat room. 16 Creates an auditorium room. The member list shows only the user and the hosts. Participants cannot whisper, but hosts can whisper to anybody, regardless of whether the no-whisper (NewRoomType=8) flag is set. Messages coming from participants are sent only to the hosts. 32 Creates a moderated room. Members join the chat room as spectators by default. Remarks
For example, if NewRoomType=10, it means that only hosts can change the room topic (NewRoomType=2), and no whispers are allowed in the room (NewRoomType=8).
See Also
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.