WinXAddTrackBar


WinXAddTrackBar (parent, enableSelection, posToolTip, id)

Creates a new tracker and adds it to a window

Parameter Description
parent The handle to the window to add the tracker to
enableSelection $$TRUE if the trackbar allows selections, $$FALSE otherwise
posToolTip $$TRUE to display a tooltip containing the position of the slider as it is dragged
id The unique id constant for this control

Returns

The handle to the tracker control or 0 on fail

Remarks

none

Examples

'define ids
$$ID_TRACKER = 100

'create a basic tracker
WinXAddTrackBar (hMain, $$FALSE, $$TRUE, $$ID_TRACKER)

Related Links

onTrackerPos (Callback)
WinXTracker_GetPos
WinXTracker_SetPos
WinXTracker_SetRange
WinXTracker_SetSelRange
WinXTracker_SetLabels