User Interface (UI) font related methods

User Interface (UI) font related methods

Module description

The user interface of 3ds Max 2010 uses the font returned by GetUIFont().

The "UI font" is anti-aliased when the operating system provides support for it.

If there's a need to draw text with non-antialised fonts, please use the Fixed font related methods.

Functions

CoreExport HFONT GetUIFont ()
 Return the standard font used in 3ds Max's user interface. More...
 
CoreExport HFONT GetUIFont_LocalCharSet ()
 Return the standard font used in 3ds Max's user interface, depending on the language and charset. For internal use only. More...
 
CoreExport HFONT GetUIFontBold ()
 Return the standard bold font used in 3ds Max's user interface. More...
 
CoreExport HFONT GetUIFontBold_LocalCharSet ()
 Return the standard bold font used in 3ds Max's user interface, depending on the language and charset. For internal use only. More...
 
CoreExport LONG GetUIFontHeight ()
 Returns the height of standard font which used in 3ds Max's user interface. More...
 
CoreExport LONG GetUIFontHeightSmall ()
 Returns the height of small font which used in 3ds Max's user interface. More...
 
CoreExport DWORD GetUIFontCharset ()
 Returns character set for the current language used in 3ds Max's user interface. More...
 
CoreExport const MCHARGetUIFontFace ()
 Returns the font face string for the standard font used in 3ds Max's user interface. More...
 

Function Documentation

CoreExport HFONT GetUIFont ( )

Return the standard font used in 3ds Max's user interface.

Returns
HFONT object representing the font
CoreExport HFONT GetUIFont_LocalCharSet ( )

Return the standard font used in 3ds Max's user interface, depending on the language and charset. For internal use only.

Returns
HFONT object representing the font
CoreExport HFONT GetUIFontBold ( )

Return the standard bold font used in 3ds Max's user interface.

Returns
HFONT object representing the font
CoreExport HFONT GetUIFontBold_LocalCharSet ( )

Return the standard bold font used in 3ds Max's user interface, depending on the language and charset. For internal use only.

Returns
HFONT object representing the font
CoreExport LONG GetUIFontHeight ( )

Returns the height of standard font which used in 3ds Max's user interface.

Returns
Font height (14 for English & European languages, 12 for Asian languages)
CoreExport LONG GetUIFontHeightSmall ( )

Returns the height of small font which used in 3ds Max's user interface.

Returns
Font height (8 for English & European languages, 9 for Asian languages)
CoreExport DWORD GetUIFontCharset ( )

Returns character set for the current language used in 3ds Max's user interface.

Returns
character set for the current language
CoreExport const MCHAR* GetUIFontFace ( )

Returns the font face string for the standard font used in 3ds Max's user interface.

Returns
Font face string for the standard font.