Progress Bar Control Styles

The following control styles are supported by Progress Bar controls:

ConstantDescription
PBS_MARQUEE

Version 6.0 or later. The progress indicator does not grow in size but instead moves repeatedly along the length of the bar, indicating activity without specifying what proportion of the progress is complete.

Note  Comctl32.dll version 6 is not redistributable but it is included in Windows XP or later. To use Comctl32.dll version 6, specify it in a manifest. For more information on manifests, see Enabling Visual Styles.

PBS_SMOOTH

Version 4.70 or later. The progress bar displays progress status in a smooth scrolling bar instead of the default segmented bar.

Note  This style is supported only in the Windows Classic theme. All other themes override this style.

PBS_SMOOTHREVERSE

Version 6.0 or later and Windows Vista. Determines the animation behavior that the progress bar should use when moving backward (from a higher value to a lower value). If this is set, then a "smooth" transition will occur, otherwise the control will "jump" to the lower value.

PBS_VERTICAL

Version 4.70 or later. The progress bar displays progress status vertically, from bottom to top.

Remarks

You can set progress bar styles, in the same way as other common controls, with CreateWindowEx, GetWindowLong, or SetWindowLong.

Requirements

Header

CommCtrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft