The TBM_GETCHANNELRECT message retrieves the size and position of the bounding rectangle for a trackbar’s channel. (The channel is the area over which the slider moves. It contains the highlight when a range is selected.)
TBM_GETCHANNELRECT
wParam = 0; lParam = (LPARAM) (LPRECT) lprc;
No return value.