CTrackbar.GetPosmethod
Retrieves the current logical position of the slider in a trackbar.
Syntax
FUNCTION GetPos (BYVAL hTrackbar AS HWND) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hTrackbar | Handle to the trackbar control. |
Return value
Returns a 32-bit value that specifies the current logical position of the trackbar's slider.
Description
Retrieves the current logical position of the slider in a trackbar. The logical positions are the integer values in the trackbar's range of minimum to maximum slider positions.
Reference
- Include file
CTrackbar.inc - Defined in AfxNova/CTrackbar.inc:186
- Documented in Windows/WIndows Controls/CTrackbar Class.md
- Topic: CTrackbar Class