CTrackbar.SetSelEndmethod
Sets the ending logical position of the current selection range in a trackbar.
Syntax
SUB SetSelEnd (BYVAL hTrackbar AS HWND, BYVAL lEnd AS LONG, BYVAL fRedraw AS BOOLEAN = FALSE)
Parameters
| Name | Description | |
|---|---|---|
hTrackbar | Handle to the trackbar control. | |
lEnd | Ending logical position of the selection range. | |
fRedraw | Redraw flag. If this parameter is TRUE, the message redraws the trackbar after the selection range is set. If this parameter is FALSE, the message sets the selection range but does not redraw the trackbar. |
Description
Sets the ending logical position of the current selection range in a trackbar. This message is ignored if the trackbar does not have the TBS_ENABLESELRANGE style.
Reference
- Include file
CTrackbar.inc - Defined in AfxNova/CTrackbar.inc:362
- Documented in Windows/WIndows Controls/CTrackbar Class.md
- Topic: CTrackbar Class