Freigeben über


CMFCRibbonProgressBar::SetRange

Sets the minimum and maximum values for the progress bar.

void SetRange(
    int nMin,
    int nMax 
);

Parameters

  • [in] nMin
    Specifies the minimum value of the range.

  • [in] nMax
    Specifies the maximum value of the range.

Remarks

Use this method to define the range of the progress bar by setting minimum and maximum values.

Requirements

Header: afxRibbonProgressBar.h

See Also

Reference

CMFCRibbonProgressBar Class

Hierarchy Chart