TBM_SETTIC

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

Sets a tick mark in a trackbar at the specified logical position. 

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later

Syntax

  1. TBM_SETTIC wParam = 0; lParam = (LPARAM)(LONG) lPosition;

Parameters

lPosition

Position of the tick mark. This parameter can be any of the integer values in the trackbar’s range of minimum to maximum slider positions.

Remarks

A trackbar creates its own first and last tick marks. Do not use this message to set the first and last tick marks.

Return Values

TRUE indicates that the tick mark is set. indicates otherwise.

See Also

TBM_CLEARTICS, TBM_GETPTICS, TBM_GETTIC