WinXAddProgressBar


WinXAddProgressBar (parent, smooth, id)

Creates a new progress bar and adds it to a window.

Parameter Description
parent The window to add the progress bar to
smooth $$TRUE to render without gaps, $$FALSE otherwise
id The unique id constant for this control

Returns

The handle to the progress bar or 0 on fail

Remarks

Progress bars are normally segmented. If the smooth parameter is set to $$TRUE, the progress bar will be rendered without gaps between the segments. The smooth parameter may not have any affect under certain Windows XP visual styles.

Examples

'define constants
$$ID_PROGRESS = 100

'create a basic progress bar
WinXAddProgressBar (#hMain, $$FALSE, $$ID_PROGRESS)

Related Links

WinXProgress_SetPos
WinXProgress_SetMarquee