OnRoomTypeChanged EventOnRoomTypeChanged Event*
*



Contents  *



Index  *Topic Contents
*Previous Topic: OnRoomTopicChanged Event
*Next Topic: OnStateChanged Event

OnRoomTypeChanged Event

Gives the value of the new room type.

Syntax

object_OnRoomTypeChanged(NewRoomType)

ValueDescription
objectRequired. An object expression that evaluates to a Chat control.
NewRoomTypeA short integer value that equals the sum of the room type settings. Can be a combination of the following values.
1Allows any user into the chat room.
2Allows only hosts to change the topic of the chat room.
4Allows only users who logged on to this server to enter the chat room.
8Disables whispering in the chat room.
16Creates 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.
32Creates 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

EnterRoom


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