SetFontItalic method


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

Prototype

SetFontItalic Proto hWnd:HWND, bFontItalic:BOOL

Syntax

Invoke SetFontItalic, hWnd, bFontItalic

Function

Sets or removes an italic font for an object.

Parameters

hWnd

Handle to the object.

bFontItalic

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