Partager 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

Concepts

CSliderCtrl Class

CSliderCtrl Members

Hierarchy Chart

CSliderCtrl::SetSelection

CSliderCtrl::ClearSel