Help Center

CTrackbar.ClearSelmethod

Clears the current selection range in a trackbar.

WindowsmethodCTrackbar.incdocumented

Syntax

SUB ClearSel (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 selection is cleared.

Description

Clears the current selection range in a trackbar.

Remarks

A trackbar can have a selection range only if you specified the TBS_ENABLESELRANGE style when you created it.

Reference

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