Help Center

CTrackbar.SetTicFreqmethod

Sets the interval frequency for tick marks in a trackbar.

WindowsmethodCTrackbar.incdocumented

Syntax

SUB SetTicFreq (BYVAL hTrackbar AS HWND, BYVAL wFreq AS WORD)

Parameters

NameDescription
hTrackbarHandle to the trackbar control.
wFreqFrequency of the tick marks.

Description

Sets the interval frequency for tick marks in a trackbar. For example, if the frequency is set to two, a tick mark is displayed for every other increment in the trackbar's range. The default setting for the frequency is one; that is, every increment in the range is associated with a tick mark.

Remarks

The trackbar must have the TBS_AUTOTICKS style to use this message.

Reference

  • Include file CTrackbar.inc
  • Defined in AfxNova/CTrackbar.inc:396
  • Documented in Windows/WIndows Controls/CTrackbar Class.md
  • Topic: CTrackbar Class