CTrackbar.SetTicmethod
Sets a tick mark in a trackbar at the specified logical position.
Syntax
FUNCTION SetTic (BYVAL hTrackbar AS HWND, BYVAL lPosition AS LONG) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hTrackbar | Handle to the trackbar control. | |
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. |
Return value
Returns TRUE if the tick mark is set, or FALSE otherwise.
Description
Sets a tick mark in a trackbar at the specified logical position.
Remarks
A trackbar creates its own first and last tick marks. Do not use this message to set the first and last tick marks.
Reference
- Include file
CTrackbar.inc - Defined in AfxNova/CTrackbar.inc:388
- Documented in Windows/WIndows Controls/CTrackbar Class.md
- Topic: CTrackbar Class