Show Event

[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]

Description

Occurs when a character is displayed.

Syntax

Sub agent**_Show (ByVal** CharacterID, ByVal Cause**)**

Part Description
CharacterID Returns the ID of the character shown as a string.
Cause Returns a value that indicates what caused the character to display. 2 The user showed the character (using the menu or voice command).
4 Your client application showed the character.
6 Another client application showed the character.

Remarks

The server sends this event to all clients of the character. To query the current state of the character, use the Visible property.

See Also

Hide event, VisibilityCause