Partager via


CMFCRibbonSlider::SetPos

Set the current position of the slider control.

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

Parameters

  • [in] nPos
    Specifies the position to set for the slider. The position is relative to the beginning of the slider.

  • [in] bRedraw
    If TRUE, the slider will be redrawn.

Requirements

Header: afxribbonslider.h

See Also

Reference

CMFCRibbonSlider Class

Hierarchy Chart