Retrieves a pointer to a ribbon element if the specified point is located in it.
BOOL bCheckPanelCaption = FALSE
The x and y coordinates of the mouse pointer, relative to the upper-left corner of the window.
to test the ribbon panel caption; FALSE to exclude the ribbon panel caption.
Pointer to a ribbon element if the method was successful; otherwise NULL.
Only ribbon elements that are contained in the ribbon category are tested.