<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > ProgressBar Control > ProgressBar Control Commands > ProgressBar_SetMarquee |
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