The TBM_GETTHUMBRECT message retrieves the size and position of the bounding rectangle for the slider in a trackbar.
TBM_GETTHUMBRECT
wParam = 0;
lParam = (LPARAM) (LPRECT) lprc;
Parameters
lprc
Pointer to a RECT structure that contains the bounding rectangle for the slider when the function returns.
Return Values
No return value.
See Also