共用方式為


CSliderCtrl::GetThumbRect

Retrieves the size and position of the bounding rectangle for the slider (thumb) in a slider control.

void GetThumbRect(
   LPRECT lprc 
) const;

Parameters

  • lprc
    A pointer to a CRect object that contains the bounding rectangle for the slider when the function returns.

Requirements

Header: afxcmn.h

See Also

Reference

CSliderCtrl Class

Hierarchy Chart

CSliderCtrl::GetChannelRect

Other Resources

CSliderCtrl Members