Compartilhar via


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

Reference

CSliderCtrl Class

Hierarchy Chart

CSliderCtrl::GetTic

CSliderCtrl::GetTicArray

CSliderCtrl::GetTicPos

CSliderCtrl::SetTicFreq

CSliderCtrl::ClearTics