Doubled Title Bar when using Ribbon in XTP 18.2.0 |
Post Reply |
Author | |
Benjamin W.
Newbie Joined: 24 October 2017 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 08 January 2018 at 9:32am |
Hi, We using the following code in MainFrm: // Get a pointer to the command bars object. CXTPCommandBars* pCommandBars = GetCommandBars(); then CXTPRibbonBar* pRibbonBar = (CXTPRibbonBar*)pCommandBars->Add(_T(""), xtpBarTop, RUNTIME_CLASS(CXTPRibbonBar)); pRibbonBar->EnableFrameTheme(); After that -> Assert in XTPRibbonBar.cpp Function void CXTPRibbonBar::EnableFrameTheme(BOOL bEnable) ... ASSERT(GetFrameHook()->m_pRibbonBar == this); ... because with XTPToolkit Version 18 there was a change in the following function: void CXTPCommandBarsFrameHook::EnableFrameTheme(CXTPCommandBars* pCommandBars) ... pCommandBars->SetFrameHook(this); ... That seems to break some old Code or is that a deliberate behavior? |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |