Platform SDK: Agent

AutoPopupMenu Property

Description
Returns or sets whether right-clicking the character or its taskbar icon automatically displays the character's pop-up menu.
Syntax
agent.Characters ("CharacterID").AutoPopupMenu [ = boolean]
Part Description
boolean A Boolean expression specifying whether the server automatically displays the character's pop-up menu on right-click.

True (Default) Displays the menu on right-click.

False Does not display the menu on right-click.


Remarks

By setting this property to False, you can create your own menu-handling behavior. To display the menu after setting this property to False, use the ShowPopupMenu method.

This property applies only to your client application's use of the character; the setting does not affect other clients of the character or other characters of your client application.

See Also

ShowPopupMenu method