CSliderCtrl::SetTicFreq

void SetTicFreq( int nFreq );

Parameters

nFreq

Frequency of the tick marks.

Remarks

Call this function to set the frequency with which tick marks are displayed in a slider. For example, if the frequency is set to 2, a tick mark is displayed for every other increment in the slider’s range. The default setting for the frequency is 1 (that is, every increment in the range is associated with a tick mark).

You must create the control with the TBS_AUTOTICKS style to use this function. For more information, see CSliderCtrl::Create.

CSliderCtrl OverviewClass MembersHierarchy Chart

See Also   CSliderCtrl::Create, CSliderCtrl::SetTic, CSliderCtrl::GetTicArray