Export (0) Print
Expand All
Expand Minimize

CMFCRibbonBar::LoadFromResource

Overloaded. Loads a Ribbon Bar from application resources.

virtual BOOL LoadFromResource(
   UINT uiXMLResID,
   LPCTSTR lpszResType = RT_RIBBON,
   HINSTANCE hInstance = NULL
);
virtual BOOL LoadFromResource(
   LPCTSTR lpszXMLResID,
   LPCTSTR lpszResType = RT_RIBBON,
   HINSTANCE hInstance = NULL
);

uiXMLResID

Specifies resource ID of XML string with Ribbon Bar information.

lpszResType

Specifies type of the resource located at uiXMLResID.

hInstance

Handle to the module whose executable file contains the resource. If hInstance is NULL, the system loads the resource from the module that was used to create the current process.

lpszXMLResID

Specifies resource ID (in string form) with Ribbon Bar information.

TRUE if load succeeds; otherwise FALSE.

Header: afxribbonbar.h

Show:
© 2014 Microsoft