The TBM_CLEARSEL message clears the current selection range in a trackbar.
TBM_CLEARSEL wParam = (WPARAM) (BOOL) fRedraw; lParam = 0;
No return value.
A trackbar can have a selection range only if you specified the TBS_ENABLESELRANGE style when you created it.