ListView_SetBkColor

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > ListView Control > Listview Control Commands > ListView: General functions >

ListView_SetBkColor

 

Description

 

Sets the background color of a list-view control.

 

Syntax

 

n = ListView_SetBkColor(hWnd, ctrlID, Color)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the list-view control

ctrlID

Number

No

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

Color

Number

No

The background color to set or the %CLR_NONE value for no background color.

List-view controls with background colors redraw themselves significantly faster than those without background colors.

 

Remarks

 

Restrictions

 

See also

 

Examples