CMFCRibbonCategory::HitTestEx
Retrieves the zero-based index of a ribbon element if the specified point is located in it.
int HitTestEx(
CPoint point
) const;
Parameters
- [in] point
The x and y coordinates of the mouse pointer, relative to the upper-left corner of the window.
Return Value
Zero-based index of a ribbon element if the method was successful; otherwise -1.
Remarks
Only ribbon elements that are contained in the ribbon category are tested.
Requirements
Header: afxribboncategory.h