Mainframe.cpp ////////////////////////////////////////// int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) { ...... m_wndStatusBar.AddElement(new CMFCRibbonStatusBarPane(ID_STATUSBAR_PANE1, strTitlePane1, TRUE), strTitlePane1); m_wndStatusBar.AddExtendedElement(new CMFCRibbonStatusBarPane(ID_STATUSBAR_PANE2, strTitlePane2, TRUE), strTitlePane2); m_wndStatusBar.AddElement(new CMFCRibbonButton(IDB_TEST, _T("Test"), 22, -1), _T("Text")); // here the button added into statusbar without small image } ;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)