共用方式為


CMFCRibbonProgressBar::SetInfiniteMode

Sets the progress bar to work in infinite mode.

void SetInfiniteMode(
    BOOL bSet = TRUE
);

Parameters

  • [in] bSet
    TRUE to specify that the progress bar is in infinite mode; otherwise, FALSE.

Remarks

Usually, if the progress bar is in infinite mode, it is telling the user that an operation is ongoing, but that the completion time is unknown. Thus, the progress bar fills repeatedly from the minimum value to the maximum value.

Requirements

Header: afxRibbonProgressBar.h

See Also

Reference

CMFCRibbonProgressBar Class

Hierarchy Chart