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

RTF_GetFontName

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the font name applied at text at current caret position.

 

Syntax

 

sName = RTF_GetFontName(hWnd, ctrlID)

 

Returns

 

String

 

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