共用方式為


CMFCRibbonCategory::HitTestScrollButtons

If a point falls within a ribbon category’s left or right scroll button, returns a pointer to that button.

CMFCRibbonBaseElement* HitTestScrollButtons(
   CPoint point
) const;

Parameters

  • [in] point
    The point to test.

Return Value

If point falls within the bounding rectangle of either the left or the right scroll button of the ribbon category, returns a pointer to that button, or otherwise, returns NULL.

Requirements

Header: afxribboncategory.h

See Also

Reference

CMFCRibbonCategory Class

Hierarchy Chart