CTrackbar.GetPTicsmethod
Retrieves the address of an array that contains the positions of the tick marks for a trackbar.
Syntax
FUNCTION GetPTics (BYVAL hTrackbar AS HWND) AS DWORD
Parameters
| Name | Description | |
|---|---|---|
hTrackbar | Handle to the trackbar control. |
Return value
Returns the address of an array of DWORD values. The elements of the array specify the logical positions of the trackbar's tick marks, not including the first and last tick marks created by the trackbar. The logical positions can be any of the integer values in the trackbar's range of minimum to maximum slider positions.
Description
Retrieves the address of an array that contains the positions of the tick marks for a trackbar.
Remarks
The number of elements in the array is two less than the tick count returned by the TBM_GETNUMTICS message. Note that the values in the array may include duplicate positions and may not be in sequential order. The returned pointer is valid until you change the trackbar's tick marks.
Reference
- Include file
CTrackbar.inc - Defined in AfxNova/CTrackbar.inc:194
- Documented in Windows/WIndows Controls/CTrackbar Class.md
- Topic: CTrackbar Class