The framework calls this method when it draws a CMFCRibbonProgressBar Class.
virtual void OnDrawRibbonProgressBar(
   CDC* pDC,
   CMFCRibbonProgressBar* pProgress,
   CRect rectProgress,
   CRect rectChunk,
   BOOL bInfiniteMode
);
Parameters
- [in] pDC 
 A pointer to a device context.
- [in] pProgress 
 A pointer to a CMFCRibbonProgressBar object. The framework draws this progress bar.
- [in] rectProgress 
 A rectangle that specifies the boundaries of the progress bar.
- [in] rectChunk 
 A rectangle that specifies the boundaries of the area surrounding the progress bar.
- [in] bInfiniteMode 
 A Boolean parameter that indicates the mode of the progress bar. A value of TRUE means the bar is in infinite mode. The default implementation does not use this parameter.
Remarks
Override this method in a derived class to customize the appearance of a progress bar.
Requirements
Header: afxvisualmanager.h