WinXTracker_SetRange


WinXTracker_SetRange (hTracker, USHORT min, USHORT max, ticks)

Sets the range of values that a tracker's slider can slide through. Also sets the number of units per tick mark.

Parameter Description
hTracker The handle to the tracker control
USHORT min The minimum value
USHORT max The maximum value
ticks The number of units per tick

Returns

$$TRUE on success or $$FALSE on fail

Remarks

none

Examples

'set the tracker from 0 to 100 with tick marks every 5 units
WinXTracker_SetRange (hTracker, 0, 100, 5)

Related Links

WinXAddTrackBar
WinXTracker_SetSelRange