ProgressBar_SetBarColor

<< Click to Display Table of Contents >>

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

ProgressBar_SetBarColor

 

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