BCGControlBar Pro for MFC
virtual BOOL CBCGPRibbonBar::LoadFromBuffer ( LPCTSTR  lpszXMLBuffer)
virtual

Loads a Ribbon Bar schema from a memory buffer containing XML definition of the schema.

Use this method to load a Ribbon Bar from a memory buffer containing XML definition of the Ribbon Bar schema. All ribbon elements (categories, panels, buttons etc) will be recreated according definitions written in the XML.

Parameters
lpszXMLBufferA pointer to a memory buffer with XML.