Freigeben über


CMFCRibbonProgressBar::SetPos

Sets the current position of the progress bar.

void SetPos(
    int nPos,
    BOOL bRedraw = TRUE
);

Parameters

  • [in] nPos
    Specifies the position to which the progress bar is set.

  • [in] bRedraw
    Specifies whether the progress bar should be redrawn.

Remarks

The range being set must be within the range specified by the CMFCRibbonProgressBar::SetRange method.

Requirements

Header: afxRibbonProgressBar.h

See Also

Reference

CMFCRibbonProgressBar Class

Hierarchy Chart