Partager via


CMFCVisualManagerOffice2003::OnDrawRibbonProgressBar

The framework calls this method when it draws a CMFCRibbonProgressBar Classobject.

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 Class 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
    TRUE if the bar is in infinite mode, or FALSE if not. 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: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart