ProgressBar_SetBkColor

<< Click to Display Table of Contents >>

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

ProgressBar_SetBkColor

 

Description

 

Sets the background color in the progress bar control.

 

Syntax

 

n = ProgressBar_SetBkColor(hWnd, ctrlID, lColor)

 

Returns

 

Number.

Returns the previous color.

 

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

lColor

Number

No

The new color

 

Remarks

 

Restrictions

 

When visual styles are enabled, this message has no effect.

 

See also

 

Examples