Share via


TBM_SETTIC (Windows Embedded CE 6.0)

1/6/2010

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

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

Syntax

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

Parameters

  • wParam
    Not used.
  • 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 Value

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

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Trackbar Controls Messages
TBM_CLEARTICS
TBM_GETPTICS
TBM_GETTIC