Compartilhar via


CSliderCtrl::SetPos

Sets the current position of the slider in a slider control.

void SetPos(
   int nPos 
);

Parameters

  • nPos
    Specifies the new slider position.

Requirements

Header: afxcmn.h

See Also

Reference

CSliderCtrl Class

Hierarchy Chart

CSliderCtrl::GetPos

CSliderCtrl::SetTic

Other Resources

CSliderCtrl Members