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

RTF_GetEffect

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the text effect present at current caret position.

 

Syntax

 

nEffect = RTF_GetEffect(hWnd, ctrlID)

 

Returns

 

Number

Possible values: %CFE_BOLD, %CFE_ITALIC, %CFE_UNDERLINE, %CFE_STRIKEOUT. Combination of more effect at the same time are possible.

 

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 ...

 

Remarks

 

Restrictions

 

See also

 

Examples