BCGControlBar Pro for MFC
virtual BOOL CBCGPRibbonBar::LoadFromXML ( UINT  uiXMLResID,
HINSTANCE  hInstance = NULL 
)
virtual

Loads a Ribbon Bar schema from XML.

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

Parameters
uiXMLResIDSpecifies Resource ID for the XML.
hInstanceSpecifies an instance of the resource DLL.