다음을 통해 공유


CSliderCtrl::SetSelection

Sets the starting and ending positions for the current selection in a slider control.

void SetSelection(
   int nMin,
   int nMax 
);

Parameters

  • nMin
    Starting position for the slider.

  • nMax
    Ending position for the slider.

Requirements

Header: afxcmn.h

See Also

Concepts

CSliderCtrl Class

CSliderCtrl Members

Hierarchy Chart

CSliderCtrl::GetSelection

CSliderCtrl::ClearSel