Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > RTF Control >

RTF_SetEffect

Previous pageReturn to chapter overviewNext page

 

Description

 

Set text effect to current selected text or at current caret word or at current caret position.

 

Syntax

 

RTF_SetEffect(hWnd, ctrlID, txtEffect)

 

Returns

 

None

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the Rich Edit control

ctrlID

Number

No

Control identifier assigned to the control during CONTROL ADD ...

txtEffect

Number

No

Text effect to apply. Possible values:

%CFE_BOLD, %CFE_ITALIC, %CFE_UNDERLINE, %CFE_STRIKEOUT

Combine more effects with OR

 

Remarks

 

Restrictions

 

See also

 

Examples