SetFontStrikethru method


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

Prototype

SetFontStrikethru Proto hWnd:HWND, bFontStrikethru:BOOL

Syntax

Invoke SetFontStrikethru, hWnd, bFontStrikethru

Function

Sets or removes a strikethru font for an object.

Parameters

hWnd

Handle to the object.

bFontStrikethru

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

Return value

Eax returns TRUE if successful, 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.