Nota
O acesso a esta página requer autorização. Pode tentar iniciar sessão ou alterar os diretórios.
O acesso a esta página requer autorização. Pode tentar alterar os diretórios.
Retrieves a ribbon element if the specified point is located in it.
virtual CMFCRibbonBaseElement* HitTest(
CPoint point,
BOOL bCheckPanelCaption = FALSE
);
Parameters
[in] point
The x and y coordinates of the pointer, relative to the upper-left corner of the window.[in] bCheckPanelCaption
TRUE to test the ribbon panel caption; otherwise FALSE.
Return Value
Pointer to a ribbon element if the specified point is located in it; otherwise NULL.
Remarks
Only ribbon elements that are contained in the ribbon panel are tested.
Requirements
Header: afxribbonpanel.h