BCGControlBar Pro for MFC
CBCGPStepProgressBarRenderer

Detailed Description

The CBCGPStepProgressBarRenderer class implements drawing of a time line of the tasks and indicates the execution progress.

It provides the following features and benefits:

  • Horizontal and vertical layouts. The vertical layout can be in the inverse direction (from bottom to top).
  • Header and footer step text labels.
  • Separate icon sets for the completed and pending steps.
  • The progress bar, located on the baseline, indicates the current step's progress.
  • The current step can be outlined.
+ Inheritance diagram for CBCGPStepProgressBarRenderer:

Public Types

enum  BCGPStepProgressBarLayout
 
- Public Types inherited from CBCGPAnimationManager
enum  BCGPAnimationType
 

Public Member Functions

 CBCGPStepProgressBarRendererConstructor.
 
 DoDrawDraw the step progress bar on the given device content.
 
 GetCompletedColorRetrieves the color of the completed steps.
 
 GetCompletedStepsRetrieves the completed steps number.
 
 GetCurrentStepProgressRetrieves the current step progress.
 
 GetLayoutRetrieves a step progress layout.
 
 GetOptimalSizeRetrieves the optimal size of the step progress bar.
 
 IsHighlightCompletedStepsTextLabelsTells whether the completed steps labels are highlighted.
 
 IsOutlineCurrentStepTells whether the current step is outlined.
 
 IsReversedOrderTells whether the vertically-oriented steps progress bar has the reversed order.
 
 IsStepCompletedTells whether the specified step is completed.
 
 SetCompletedColorSpecifies the color of the completed steps.
 
 SetCompletedIconsSpecfies the step progress bar icons for completed steps.
 
 SetCompletedStepsSpecifies the completed steps number.
 
 SetCurrentStepProgressSpecifies the current step progress.
 
 SetHeadersSpecfies the step progress bar header labels.
 
 SetHeadersSpecfies the step progress bar header labels.
 
 SetHighlightCompletedStepsTextLabelsSpecifies whether the completed steps labels should be highlighted.
 
 SetIconsSpecfies the step progress bar icons.
 
 SetLayoutSpecifies a step progress layout.
 
 SetOutlineCurrentStepSpecifies whether the current step is outlined.
 
 SetReversedOrderSpecifies whether the vertically-oriented steps progress bar has the reversed order.
 
 SetStepsSpecfies the step progress bar step labels.
 
 SetStepsSpecfies the step progress bar steps.
 
- Public Member Functions inherited from CBCGPAnimationManager
 CBCGPAnimationManagerDefault constructor.
 
 GetAnimatedValueGets current animated value.
 
 GetAnimationDurationGets animation duration.
 
 GetLastAnimationErrorGets the animation error returned by recent call to Windows Animation API.
 
 IsAnimatedChecks if animation is running.
 
 StartAnimationStarts an animation.
 
 StartFlashAnimationStarts "flash" animation.
 
 StopAnimationStops an animation.
 
- Public Member Functions inherited from CBCGPGraphicsManagerHelper
 SetGraphicsManagerTypeSpecifies a graphics manager type.
 

Additional Inherited Members

- Static Public Member Functions inherited from CBCGPAnimationManager
 IsAnimationSupportedByOSChecks if animation is supported by OS.
 
- Protected Member Functions inherited from CBCGPAnimationManager
 OnAnimationIdleCalled by the framework in an animation idle time.
 
- Protected Member Functions inherited from CBCGPGraphicsManagerHelper
 DoGraphicsManagerDrawCall this method to initiate a window content drawing using the graphics manager.
 
 DoGraphicsManagerDrawCall this method to initiate a window content drawing using the graphics manager.