Prev Next

TBM_GETTIC Overview  Group

The TBM_GETTIC message 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.

TBM_GETTIC 

wParam = (WPARAM) (WORD) iTic; 

lParam = 0;	 

 

Parameters

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.

Return Values

Returns the logical position of the specified tick mark or - 1 if iTic does not specify a valid index.

See Also

TBM_GETNUMTICS