Partager 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

Concepts

CSliderCtrl Class

CSliderCtrl Members

Hierarchy Chart

CSliderCtrl::GetPos

CSliderCtrl::SetTic