STATUSFONT property (System)
Description
Returns the font used by Windows for displaying text in status line and tooltip controls.
Property Value
This property is an @svm-delimited array containing the following font information.
<0,0,1> Facename
<0,0,2> Height
<0,0,3> Weight
<0,0,4> Italic
<0,0,5> Underline
<0,0,6> Width
<0,0,7> Charset
<0,0,8> PitchAndFamily
<0,0,9> Strikeout
<0,0,10> OutPrecision
<0,0,11> ClipPrecision
<0,0,12> Quality
Property Traits
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
N/A | Get | No | No | No |
Remarks
The font returned is always scaled to 96 DPI.
Example
// Example - Get the Windows Status font, scale to the correct DPI, and set // it for a static control called TXT_STATUS StatusFont = Get_Property( "SYSTEM", "STATUSFONT" ) ScaledFont = Exec_Method( @Window : ".TXT_STATUS", "SCALEFONT", StatusFont ) Call Set_Property_Only( @Window : ".TXT_STATUS", "FONT", ScaledFont )
See Also
Common GUI Font property, Common GUI SCALEFONT method, SYSTEM MESSAGEFONT property.