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

RTF_SetBGColor

Previous pageReturn to chapter overviewNext page

 

Description

 

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

 

Syntax

 

RTF_SetBGColor(hWnd, ctrlID, BGColor)

 

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

Background color code

 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com