Share via


Trackbar Controls Messages (Windows Embedded CE 6.0)

1/6/2010

The following table shows the trackbar controls messages, with a description of the purpose of each.

Programming element Description

TBM_CLEARSEL

This message clears the current selection in a trackbar.

TBM_CLEARTICS

This message removes the current tick marks from a trackbar.

TBM_GETBUDDY

This message retrieves the handle to a trackbar control buddy window at a specified location.

TBM_GETCHANNELRECT

This message retrieves the size and position of the bounding rectangle for a trackbar's channel.

TBM_GETLINESIZE

This message retrieves the size of the line for a trackbar.

TBM_GETNUMTICS

This message retrieves the number of tick marks in a trackbar.

TBM_GETPAGESIZE

This message retrieves the size of the page for a trackbar.

TBM_GETPOS

This message retrieves the current position of the slider in a trackbar.

TBM_GETPTICS

This message retrieves the address of the array that contains the positions of tick marks for a trackbar.

TBM_GETRANGEMAX

This message retrieves the maximum position for the slider in a trackbar.

TBM_GETRANGEMIN

This message retrieves the minimum position for the slider in a trackbar.

TBM_GETSELEND

This message retrieves the ending position of the current selection in a trackbar.

TBM_GETSELSTART

This message retrieves the starting position of the current selection in a trackbar.

TBM_GETTHUMBLENGTH

This message retrieves the length of the slider in a trackbar.

TBM_GETTHUMBRECT

This message retrieves the size and position of the bounding rectangle for the slider in a trackbar.

TBM_GETTIC

This message retrieves the position of a tick mark in a trackbar.

TBM_GETTICPOS

This message retrieves the current physical position of a tick mark in a trackbar.

TBM_SETBUDDY

This message assigns a window as the buddy window for a trackbar control.

TBM_SETLINESIZE

This message sets the size of the line for a trackbar.

TBM_SETPAGESIZE

This message sets the size of the page for a trackbar.

TBM_SETPOS

This message sets the current position of the slider in a trackbar.

TBM_SETRANGE

This message sets the range — minimum and maximum positions — for the slider in a trackbar.

TBM_SETRANGEMAX

This message sets the maximum position for the slider in a trackbar.

TBM_SETRANGEMIN

This message sets the minimum position for the slider in a trackbar.

TBM_SETSEL

This message sets the starting and ending positions for the current selection in a trackbar.

TBM_SETSELEND

This message sets the ending position of the current selection in a trackbar.

TBM_SETSELSTART

This message sets the starting position of the current selection in a trackbar.

TBM_SETTHUMBLENGTH

This message sets the length of the slider in a trackbar.

TBM_SETTIC

This message sets the position of a tick mark in a trackbar.

TBM_SETTICFREQ

This message sets the interval frequency for tick marks in a trackbar.

See Also

Reference

Trackbar Controls Reference