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

ProgressBar_SetBkColor

Previous pageReturn to chapter overviewNext page

 

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