Share via


TBM_GETCHANNELRECT (Compact 2013)

3/28/2014

This 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.

Syntax

TBM_GETCHANNELRECT wParam = 0; 
    lParam = (LPARAM)(LPRECT) lprc;

Parameters

  • wParam
    Not used.
  • lprc
    Long pointer to a RECT structure. The message fills this structure with the channel's bounding rectangle, in client coordinates of the trackbar's window.

Return Value

None.

Requirements

Header

commctrl.h

See Also

Reference

Trackbar Controls Messages
TBM_GETTHUMBRECT