Contents Index Topic Contents | ||
Previous Topic: TBM_GETTIC Next Topic: TBM_GETTOOLTIPS |
TBM_GETTICPOS
TBM_GETTICPOS wParam = (WPARAM) (WORD) iTic; lParam = 0;Retrieves the current physical position of a tick mark in a trackbar.
- 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. If iTic is not a valid index, the return value is -1.
- iTic
- Zero-based index identifying a tick mark. Valid indexes are in the range from zero to two less than the tick count returned by the TBM_GETNUMTICS message.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.