Share via


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

Reference

CSliderCtrl Class

Hierarchy Chart

CSliderCtrl::GetSelection

CSliderCtrl::ClearSel

Other Resources

CSliderCtrl Members