Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
To use the ribbon resource in your application, modify the application to load the ribbon resource.
To load a ribbon resource
Declare the Ribbon Control object in the CMainFrame class.
CMFCRibbonBar m_wndRibbonBar;
In CMainFrame::OnCreate, create and initialize the Ribbon Control.
if (!m_wndRibbonBar.Create (this)) { return -1; } if (!m_wndRibbonBar.LoadFromResource(IDR_RIBBON)) { return -1; }