CTrackbar.GetThumbRectmethod
Retrieves the length of the slider in a trackbar.
Syntax
SUB GetThumbRect (BYVAL hTrackbar AS HWND, BYVAL prc AS RECT PTR)
SUB GetThumbRect (BYVAL hTrackbar AS HWND, BYREF rc AS RECT)
FUNCTION GetThumbRect (BYVAL hTrackbar AS HWND) AS RECT
Parameters
| Name | Description | |
|---|---|---|
hTrackbar | Handle to the trackbar control. | |
prc | Pointer to a RECT structure. The message fills this structure with the bounding rectangle of the trackbar's slider in client coordinates of the trackbar's window. |
Description
Retrieves the size and position of the bounding rectangle for the slider in a trackbar.
Reference
- Include file
CTrackbar.inc - Defined in AfxNova/CTrackbar.inc:242
- Documented in Windows/WIndows Controls/CTrackbar Class.md
- Topic: CTrackbar Class