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

CMFCRibbonBar::GetActiveCategory

Retrieves a pointer to the active ribbon category.

CMFCRibbonCategory* GetActiveCategory() const;

A pointer to the active ribbon category; or NULL if no category is active.

A category is active if it has the focus. By default, the active category is the first category on the left side of the ribbon bar.

The main category is displayed when the user presses the application button and it cannot be the active category.

Header: afxribbonbar.h

Show:
© 2015 Microsoft