CMFCRibbonBar::GetActiveCategory
Retrieves a pointer to the active ribbon category.
CMFCRibbonCategory* GetActiveCategory() const;
Return Value
A pointer to the active ribbon category; or NULL if no category is active.
Remarks
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.
Requirements
Header: afxribbonbar.h
See Also
Concepts
Reference
Change History
Date |
History |
Reason |
---|---|---|
October 2008 |
Updated whole topic. |
Information enhancement. |