Share via


TBM_CLEARSEL (Compact 2013)

3/28/2014

This message clears the current selection in a trackbar.

Syntax

TBM_CLEARSEL wParam = (WPARAM)(BOOL) fRedraw; 
    lParam = 0;

Parameters

  • fRedraw
    Redraw flag. If set to TRUE, the trackbar is redrawn after the selection is cleared.
  • lParam
    Not used.

Return Value

None.

Remarks

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

Requirements

Header

commctrl.h

See Also

Reference

Trackbar Controls Messages
TBM_SETSEL