Navigation:  thinBasic Modules > UI (User Interface) > CONTROLs > 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

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com