Поделиться через


CSliderCtrl::SetTicFreq

Sets the frequency with which tick marks are displayed in a slider.

void SetTicFreq(
   int nFreq 
);

Параметры

  • nFreq
    Frequency of the tick marks.

Заметки

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.

Требования

Header: afxcmn.h

См. также

Основные понятия

CSliderCtrl Class

CSliderCtrl Members

Hierarchy Chart

CSliderCtrl::Create

CSliderCtrl::SetTic

CSliderCtrl::GetTicArray