CTrackbar.ClearSelmethod
Clears the current selection range in a trackbar.
Syntax
SUB ClearSel (BYVAL hTrackbar AS HWND, BYVAL fRedraw AS BOOLEAN = FALSE)
Parameters
| Name | Description | |
|---|---|---|
hTrackbar | Handle to the trackbar control. | |
fRedraw | Redraw 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