RTF_SetFGColor

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > Richedit Control > Richedit Control Commands >

RTF_SetFGColor

 

Description

 

Set foreground color to current selected text or at current caret word or at current caret position.

 

Syntax

 

RTF_SetFGColor(hWnd, ctrlID, FGColor)

 

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

BGColor

Number

No

Foreground color code

 

Remarks

 

Restrictions

 

See also

 

Examples