Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic


Retrieves the zero-based index of a ribbon element if the specified point is located in it.

int HitTestEx(
   CPoint point
) const;
[in] point

The x and y coordinates of the mouse pointer, relative to the upper-left corner of the window.

Zero-based index of a ribbon element if the method was successful; otherwise -1.

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

Header: afxribboncategory.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.