CSliderCtrl::GetChannelRect

Retrieves the size and position of the bounding rectangle for a slider control's channel.

void GetChannelRect(
   LPRECT lprc 
) const;

Parameters

  • lprc
    A pointer to a CRect object that contains the size and position of the channel's bounding rectangle when the function returns.

Remarks

The channel is the area over which the slider moves and which contains the highlight when a range is selected.

Requirements

Header: afxcmn.h

See Also

Reference

CSliderCtrl Class

Hierarchy Chart

CSliderCtrl::GetThumbRect

Other Resources

CSliderCtrl Members