Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Doubled Title Bar when using Ribbon in XTP 18.2.0
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Doubled Title Bar when using Ribbon in XTP 18.2.0

 Post Reply Post Reply
Message Reverse Sort Order
Benjamin W. View Drop Down

Joined: 24 October 2017
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Benjamin W. Quote  Post ReplyReply Direct Link To This Post Topic: Doubled Title Bar when using Ribbon in XTP 18.2.0
    Posted: 08 January 2018 at 9:32am

We using the following code in MainFrm:

// Get a pointer to the command bars object.
CXTPCommandBars* pCommandBars = GetCommandBars();


CXTPRibbonBar* pRibbonBar = (CXTPRibbonBar*)pCommandBars->Add(_T(""), xtpBarTop, RUNTIME_CLASS(CXTPRibbonBar));

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)


That seems to break some old Code or is that a deliberate behavior?

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

This page was generated in 0.094 seconds.