WinXTracker_SetLabels


WinXTracker_SetLabels (hTracker, STRING leftLabel, STRING rightLabel)

Sets the optional labels for a tracker control.

Parameter Description
hTracker The handle to the tracker control
STRING leftLabel The left label for the tracker
STRING rightLabel The right label for the tracker

Returns

$$TRUE on success or $$FALSE on fail

Remarks

The labels are displayed outside the tracker control, so you need to compensate for this when setting autosizer info. I sugest setting the width of the tracker to the complement of the total width minus the total size of the labels; and the x position to centre.

Examples

'set the labels for a tracker
WinXTracker_SetLabels (hTracker, "min", "max")

Related Links

WinXAddTrackBar