Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Retrieves a pointer to a ribbon panel if the specified point is located in it.

CMFCRibbonPanel* GetPanelFromPoint(
   CPoint point
) const;

[in] point

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

Pointer to a ribbon panel if the method was successful; otherwise NULL.

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

Header: afxribboncategory.h

© 2015 Microsoft