Share via


CSliderCtrl::GetTic

Retrieves the position of a tick mark in a slider control.

int GetTic(
   int nTic 
) const;

Parameters

  • nTic
    Zero-based index identifying a tick mark.

Return Value

The position of the specified tick mark or – 1 if nTic does not specify a valid index.

Requirements

Header: afxcmn.h

See Also

Reference

CSliderCtrl Class

Hierarchy Chart

CSliderCtrl::SetTic

CSliderCtrl::GetTicArray

CSliderCtrl::GetTicPos

CSliderCtrl::SetTicFreq

CSliderCtrl::ClearTics

Other Resources

CSliderCtrl Members