다음을 통해 공유


CSliderCtrl::GetTicPos

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

int GetTicPos(
   int nTic 
) const;

Parameters

  • nTic
    Zero-based index identifying a tick mark.

Return Value

The physical position, in client coordinates, of the specified tick mark or – 1 if nTic does not specify a valid index.

Requirements

Header: afxcmn.h

See Also

Concepts

CSliderCtrl Class

CSliderCtrl Members

Hierarchy Chart

CSliderCtrl::SetTic

CSliderCtrl::GetTic

CSliderCtrl::SetTicFreq

CSliderCtrl::ClearTics