Setting and Checking System Variables
Setting and Checking System Variables
The GetDefFontSize, GetSysFont, GetAppFont, GetMBarHeight, and
GetSysJust routines return the most recent values of given (low- memory)
global variables. SetSysJust sets the global variable that represents the
default line direction for the system.
GetDefFontSize Returns the size of the current default font
GetSysFont Returns the identification number of the current
system font
GetAppFont Returns the identification number of the current
application font
GetMBarHeight Returns the height of the menu bar required to hold
menu titles in the current system font. This routine is
useful for calculating window size or dragLimit rect
GetSysJust Returns the value of TESysJust, the global variable
that represents the default line direction (left to right
or right to left) for text in the system script
SetSysJust Sets the value of TESysJust (see the de scription of
GetSysJust for a de scription of TESysJust)