다음을 통해 공유


CSliderCtrl::SetTic

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

BOOL SetTic(
   int nTic 
);

Parameters

  • nTic
    Position of the tick mark. This parameter must specify a positive value.

Return Value

Nonzero if the tick mark is set; otherwise 0.

Requirements

Header: afxcmn.h

See Also

Concepts

CSliderCtrl Class

CSliderCtrl Members

Hierarchy Chart

CSliderCtrl::GetTic

CSliderCtrl::GetTicArray

CSliderCtrl::GetTicPos

CSliderCtrl::SetTicFreq

CSliderCtrl::ClearTics