Share via


CSliderCtrl::GetSelection

Retrieves the starting and ending positions of the current selection in a slider control.

void GetSelection( 
   int& nMin, 
   int& nMax  
) const;

Parameters

  • nMin
    Reference to an integer that receives the starting position of the current selection.

  • nMax
    Reference to an integer that receives the ending position of the current selection.

Requirements

Header: afxcmn.h

See Also

Reference

CSliderCtrl Class

Hierarchy Chart

CSliderCtrl::SetSelection

CSliderCtrl::ClearSel