SetFontSize method


Available for all objects except Image, HScroll, VScroll, ToolBar, ProgressBar, Slider, UpDown and Animate.

Syntax

Invoke SetFontSize, hWnd, lFontSize

Function

Sets the font size for an object.

Parameters

hWnd

Handle to the object.

lFontSize

A DD value specifying the new font size (in points) for the object.

Return value

Eax returns TRUE if succesful, or FALSE if not.


REMARKS
: This method has no effect for child controls being inside a DialogBox object (see
Dialog boxes), as they use the same font than their parent.