CMFCRibbonBar::GetContextName

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

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

Parameters

  • [in] uiContextID
    A ribbon category context ID.

  • [out] strName
    The name of a context category caption.

Return Value

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

Requirements

Header: afxribbonbar.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonBar Class

Change History

Date

History

Reason

October 2008

Updated whole topic.

Information enhancement.