Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Retrieves a pointer to a ribbon element if the specified point is located in it.
CMFCRibbonBaseElement* HitTest(
CPoint point,
BOOL bCheckPanelCaption = FALSE
) const;
Parameters
[in] point
The x and y coordinates of the mouse pointer, relative to the upper-left corner of the window.[in] bCheckPanelCaption
TRUE to test the ribbon panel caption; FALSE to exclude the ribbon panel caption.
Return Value
Pointer to a ribbon element if the method was successful; otherwise NULL.
Remarks
Only ribbon elements that are contained in the ribbon category are tested.
Requirements
Header: afxribboncategory.h