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

ProgressBar_SetMarquee

Previous pageReturn to chapter overviewNext page

 

Description

 

Switch on or off the progress bar marquee mode.

Marquee mode on, causes the progress bar to move like a marquee.

 

Syntax

 

n = ProgressBar_SetMarquee(hWnd, ctrlID, OnOff, Millisecs)

 

Returns

 

Number.

Returns the previous position.

 

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

OnOff

Number

No

%TRUE or %FALSE to activate or de-activate marquee type

Millisecs

Number

No

Speed of the marquee in milliseconds

 

Remarks

 

Restrictions

 

You must set the control style of the progress bar to %PBS_MARQUEE before attempting to start the animation.

Marquee mode requires Win XP.

 

See also

 

Examples

 

 

 

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