TaskDialogProgressBarStyle Enumeration
Description
Progress bar styles.
Members
| Member | Description |
|---|---|
xtpTaskProgressBarNone |
Do not display a progress bar. |
xtpTaskProgressBarNormal |
Display a standard progress bar. |
xtpTaskProgressBarMarquee |
Display a progress bar that uses the marquee style. |
Remarks
The ProgressBarStyle property uses flags from the TaskDialogProgressBarStyle enumeration to display a progress bar in the task dialog.
To display a progress bar, you must set ProgressBarStyle to xtpTaskProgressBarMarquee or xtpTaskProgressBarNormal. Setting ProgressBarStyle to xtpTaskProgressBarNone will remove the progress bar.
If using the marquee style, ProgressBarStyle must first be set to xtpTaskProgressBarMarquee and StartProgressBarMarquee must be called in the Constructed event before it can be turned on or off. After StartProgressBarMarquee is called in the Constructed event, you can freely use StartProgressBarMarquee anytime to start and stop the marquee.
The illustrations below show a progress bar that is in the process of scrolling using both the marquee and standard styles:


See Also
- StartProgressBarMarquee Method
- SetProgressBarRange Method
- ProgressBarStyle Property
- ProgressBarPos Property
- EnableCallbackTimer Property
- Timer Event
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.