Share via


TBM_SETTIC

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

TBM_CLEARTICS
TBM_GETPTICS
TBM_GETTIC