Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

CMFCRibbonBar::GetContextName

Retrieves the name of the context category caption specified by a context ID.

BOOL GetContextName(
   UINT uiContextID,
   CString& strName 
) const;

[in] uiContextID

A ribbon category context ID.

[out] strName

The name of a context category caption.

TRUE if the method was successful; otherwise, FALSE if uiContextID was zero or the context category caption was not found.

Header: afxribbonbar.h

Show:
© 2015 Microsoft