IAgentBalloon::SetFontCharSet
[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]
HRESULT SetFontCharSet(
short sFontCharSet // character set displayed in word balloon
);
Sets the character set of the font displayed in the word balloon.
- Returns S_OK to indicate the operation was successful.
-
sFontCharSet
-
The character set of the font. The following are some common settings for value:
Value Character set 0 Standard Windows characters (ANSI). 1 Default character set. 2 The symbol character set. 128 Double-byte character set (DBCS) unique to the Japanese version of Windows. 129 Double-byte character set (DBCS) unique to the Korean version of Windows. 134 Double-byte character set (DBCS) unique to the Simplified Chinese version of Windows. 136 Double-byte character set (DBCS) unique to the Traditional Chinese version of Windows. 255 Extended characters usually displayed by MS-DOS applications.
For other character set values, consult the Platform SDK documentation.
The default character set used in a character's word balloon is defined in the Microsoft Agent Character Editor. You can change it with IAgentBalloon::SetFontCharSet. However, the user can override the character set setting for all characters using the Microsoft Agent property sheet. 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