Page 1 of 1

[Q]How to set the a TBalloon.Anchor to a MSAgent Character?

PostPosted: December 2nd, 2003, 1:58 am
by zzeric
Hello!!

I want to make a tts program,but I think the default MS Agent Character's message dialog is too simple. So I wanna use the TAssistantBalloon,which brings a pretty rich message balloon dialog,but now I meet a trouble:I can't directly set the TAssistantBalloon.Anchor to the Character,because the Character is not a wincontrol but IAgentCharacter.

How can I set the Balloon.Anchor to the character?Thanks.......

PostPosted: December 2nd, 2003, 7:28 pm
by Kambiz
You cannot anchor it to the agent character, however you can use the MoveBalloonTo method to place it over the character.