ActivateInput Event

Description

Occurs when a client becomes input-active.

Syntax

Sub agent_ActivateInput (ByVal CharacterID)

Value Description
CharacterID Returns the ID of the character through which the client becomes input-active.

Remarks

The input-active client receives mouse and speech input events supplied by the server. The server sends this event only to the client that becomes input-active.

This event can occur when the user switches to your Commands object, for example, by choosing your Commands object entry in the Commands Window or in the pop-up menu for a character. It can also occur when the user selects a character (by clicking or speaking its name), when a character becomes visible, and when the character of another client application becomes hidden. You can also call the Activate method (with State set to 2) to explicitly make the character topmost, which results in your client application becoming input-active and triggers this event. However, this event does not occur if you use the Activate method only to specify whether your client is the active client of the character.

See Also

DeactivateInput event, Activate method

--------------------------------------------------------

BalloonHide Event

Description

Occurs when a character's word balloon is hidden.

Syntax

Sub agent_BalloonHide (ByVal CharacterID)

Value Description
CharacterID Returns the ID of the character associated with the word balloon.

Remarks

The server sends this event only to the clients of the character (applications that have loaded the character) that uses the word balloon.

See Also

BalloonShow event

--------------------------------------------------------

BalloonShow Event

Description

Occurs when a character's word balloon is shown.

Syntax

Sub agent_BalloonShow (ByVal CharacterID)

Value Description
CharacterID Returns the ID of the character associated with the word balloon.

Remarks

The server sends this event only to the clients of the character (applications that have loaded the character) that uses the word balloon.

See Also

BalloonHide event

--------------------------------------------------------