SetFontBold method


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

Prototype

SetFontBold Proto hWnd:HWND, bFontBold:BOOL

Syntax

Invoke SetFontBold, hWnd, bFontBold

Function

Sets or removes a bold font for an object.

Parameters

hWnd

Handle to the object.

bFontBold

A BOOL value specifying whether the font has to be bold or not.

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.