Platform SDK: Agent |
HRESULT SetNumLines( long lLines, // number of lines setting );
Sets the number of lines of text output that can be displayed in the character's word balloon.
The minimum setting is 1 and maximum is 128. If the text specified in the Speak or Think method exceeds the size of the current balloon, Agent automatically scrolls the text in the balloon.
This method will fail if the SizeToText balloon style bit is set.
The default setting is based on settings when the character is compiled with the Microsoft Agent Character Editor.
IAgentBalloon::GetNumLines, IAgentBalloonEx::GetStyle, IAgentBalloonEx::SetStyle