Functions

User Interface (UI) font related methods

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

Functions

CoreExport HFONT  GetUIFont ()
  Return the standard font used in 3ds Max's user interface.
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.
CoreExport HFONT  GetUIFontBold ()
  Return the standard bold font used in 3ds Max's user interface.
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.
CoreExport LONG  GetUIFontHeight ()
  Returns the height of standard font which used in 3ds Max's user interface.
CoreExport LONG  GetUIFontHeightSmall ()
  Returns the height of small font which used in 3ds Max's user interface.
CoreExport DWORD  GetUIFontCharset ()
  Returns character set for the current language used in 3ds Max's user interface.
CoreExport const MCHAR *  GetUIFontFace ()
  Returns the font face string for the standard font used in 3ds Max's user interface.

Detailed 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.


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.