Navigation: thinBasic Modules > UI (User Interface) > CONTROLs > Dedicated Control Functions > ProgressBar Control > ProgressBar_SetPos |
|
Description
Sets the current position for a progress bar and redraws the bar to reflect the new position
Syntax
n = ProgressBar_SetPos(hWnd, ctrlID, lNewPos)
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 ... |
lNewPos |
Number |
No |
New position |
Remarks
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |