Platform SDK: Agent

IAgentCommandsEx::GetFontName

HRESULT GetFontName(
   BSTR * pbszFontName  // address of variable for font displayed 
);                      // in character's pop-up menu

Retrieves the value for the font displayed in the character's pop-up menu.

pbszFontName
The address of a BSTR that receives the font name displayed in the character's pop-up menu.

The font name returned corresponds to the font used to display text in the character's pop-up menu when your client application is input-active. The default value for the font setting is based on the menu font setting for the character's language ID setting, or if not set, the user default language ID setting.

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

IAgentCommandsEx::SetFontName, IAgentCommandsEx::SetFontSize