IAgentBalloon::SetFontName

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

HRESULT SetFontName(
   BSTR bszFontName  // font displayed in word balloon
);
                   

Sets the font displayed in the word balloon.

  • Returns S_OK to indicate the operation was successful.

bszFontName

A BSTR that sets the font displayed in the word balloon.

The default font used in a character's word balloon is defined in the Microsoft Agent Character Editor. You can change it with IAgentBalloon::SetFontName. However, the user can override the font setting for all characters using the Microsoft Agent property sheet.

See Also

IAgentBalloon::GetVisible