PRibbonBtn - & gt; SetText (_T (" Login "));
CodePudding user response:
Need to CMFCRibbonBaseElementCMFCRibbonBaseElement * ele=m_wndRibbonBar. FindByID (id);
CMFCRibbonButton * pRibbonBtn=static_cast & lt; CMFCRibbonButton * & gt; (ele);
CodePudding user response:
Hello! Switch or not,Is related to the two CDJPRibbonBar and CMFCRibbonBar? I now have the statement CDJPRibbonBar m_wndRibbonBar
CodePudding user response:
CDJPRibbonBar m_wndRibbonBar??Should be CMFCRibbonBar m_wndRibbonBar,
CodePudding user response:
Who can help to solve this problem?CodePudding user response:
Words can m_wndRibbonBar. ForceRecalcLayout ();