WinXSetFont


WinXSetFont (hCtrl, hFont)

Set the font for a control

Parameter Description
hCtrl The control to set the font for
hFont The handle to the font to set

Returns

$$TRUE on success or $$FALSE on fail

Remarks

Most of the Windows common controls should respond to this function. Some custom controls might.

Examples

' Set a control to the standard font
WinXSetFont (hCtrl, GetStockObject ($$DEFAULT_GUI_FONT))

Related Links

WinXNewWindow
WinXNewChildWindow
WinXSetWindowColour
WinXSetCursor
WinXDraw_GetFontDialog
WinXDraw_MakeLogFont