Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CMFCRibbonBar::LoadFromResource
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft