Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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

Retrieves the logical position of a tick mark in a trackbar. The logical position can be any of the integer values in the trackbar's range of minimum to maximum slider positions.

Syntax

TBM_GETTIC 
wParam = (WPARAM)(WORD) 
iTic; 

lParam = 0; 

Parameters

iTic

Zero-based index that identifies a tick mark. Valid indexes are in the range from zero to two less than the tick count returned by the TBM_GETNUMTICS message.

lParam

Not used.

Return Value

The logical position of the specified tick mark indicates success. –1 indicates that iTicdoes not specify a valid index.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

TBM_SETTIC