SetFontUnderline method


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

Prototype

SetFontUnderline Proto hWnd:HWND, bFontUnderline:BOOL

Syntax

Invoke SetFontUnderline, hWnd, bFontUnderline

Function

Sets or removes an underlined font for an object.

Parameters

hWnd

Handle to the object.

bFontUnderline

A BOOL value specifying whether the font has to be underlined 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.