CTrackbar.SetRangeMinmethod
Sets the minimum logical position for the slider in a trackbar.
Syntax
SUB SetRangeMin (BYVAL hTrackbar AS HWND, BYVAL lMinimum AS LONG, BYVAL fRedraw AS BOOLEAN = FALSE)
Parameters
| Name | Description | |
|---|---|---|
hTrackbar | Handle to the trackbar control. | |
lMinimum | Minimum position for the slider. | |
fRedraw | Redraw flag. If this parameter is TRUE, the trackbar is redrawn after the range is set. If this parameter is FALSE, the message sets the range but does not redraw the trackbar. |
Description
Sets the minimum logical position for the slider in a trackbar.
Remarks
If the current slider position is greater than the new maximum, the TBM_SETRANGEMAX message sets the slider position to the new maximum value.
Reference
- Include file
CTrackbar.inc - Defined in AfxNova/CTrackbar.inc:345
- Documented in Windows/WIndows Controls/CTrackbar Class.md
- Topic: CTrackbar Class