Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.