Compartilhar via


TBM_SETTIC (Compact 2013)

3/28/2014

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. FALSE indicates otherwise.

Requirements

Header

commctrl.h

See Also

Reference

Trackbar Controls Messages
TBM_CLEARTICS
TBM_GETPTICS
TBM_GETTIC