Share via


TBM_GETTICPOS (Windows CE 5.0)

Send Feedback

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

TBM_GETTICPOSwParam=(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 Values

Returns the distance, in client coordinates, from the left or top of the trackbar's client area to the specified tick mark. The return value is the x-coordinate of the tick mark for a horizontal trackbar or the y-coordinate for a vertical trackbar. –1 indicates that iTic is not a valid index.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

TBM_GETTIC

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.