Help Center

CTrackbar.ClearTicsmethod

Removes the current tick marks from a trackbar. This message does not remove the first and last tick marks, which are created automatically by the trackbar.

WindowsmethodCTrackbar.incdocumented

Syntax

SUB ClearTics (BYVAL hTrackbar AS HWND, BYVAL fRedraw AS BOOLEAN = FALSE)

Parameters

NameDescription
hTrackbarHandle to the trackbar control.
fRedrawRedraw flag. If this parameter is TRUE, the trackbar is redrawn after the tick marks are cleared. If this parameter is FALSE, the message clears the tick marks but does not redraw the trackbar.

Description

Removes the current tick marks from a trackbar. This message does not remove the first and last tick marks, which are created automatically by the trackbar.

Reference

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