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

ProgressBar_SetBarColor

Previous pageReturn to chapter overviewNext page

 

Description

 

Sets the color of the progress bar in the progress bar control.

 

Syntax

 

n = ProgressBar_SetBarColor(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