Partager via


CMFCRibbonCategory::HighlightPanel

Highlights the specified ribbon panel.

CMFCRibbonPanel* HighlightPanel(
   CMFCRibbonPanel* pHLPanel,
   CPoint point
);

Parameters

  • [in] pHLPanel
    Pointer to the ribbon panel to highlight.

  • [in] point
    The x and y coordinates of the pointer, relative to the upper-left corner of the window.

Return Value

Pointer to the previously highlighted ribbon panel; otherwise NULL if no ribbon panel is highlighted when this method is invoked.

Remarks

For more information about highlighting a ribbon panel, see CMFCRibbonPanel::Highlight.

Requirements

Header: afxribboncategory.h

See Also

Reference

CMFCRibbonCategory Class

Hierarchy Chart