Share via


CMFCRibbonPanel::HitTestEx

Retrieves the zero-based index of the ribbon element that has the specified point located in it.

virtual int HitTestEx(
   CPoint point
) const;

Parameters

  • [in] point
    The x and y coordinates of the pointer, relative to the upper-left corner of the window.

Return Value

The zero-based index of the ribbon element that has the specified point located in it; otherwise -1.

Remarks

Only ribbon elements that are contained in the ribbon panel are tested.

Requirements

Header: afxribbonpanel.h

See Also

Reference

CMFCRibbonPanel Class

Hierarchy Chart