TBM_GETTIC

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 trackbars range of minimum to maximum slider positions.  

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.

Return Values

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

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Commctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

TBM_SETTIC

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.