Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Bug: Painting problem in ribbon popups
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug: Painting problem in ribbon popups

 Post Reply Post Reply
Author
Message
Michl View Drop Down
Senior Member
Senior Member


Joined: 14 September 2007
Status: Offline
Points: 138
Post Options Post Options   Thanks (0) Thanks(0)   Quote Michl Quote  Post ReplyReply Direct Link To This Post Topic: Bug: Painting problem in ribbon popups
    Posted: 02 May 2014 at 7:55am
Hi guys!

I have found another bug.

If a ribbon group contains many elements and now you resize your main window, ribbon popups are not completely filled with background color.

Reproduceable in calendar sample:



I fix this problem temporarly. But I hope this is fixed in the next version:


void CXTPRibbonPaintManager::DrawRibbonGroupPopupToolBar(CDC *pDC, CXTPRibbonGroup* pRibbonGroup, CXTPCommandBar* pCommandBar)
{
    CXTPRibbonBar* pRibbonBar = pRibbonGroup->GetRibbonBar();
    CXTPClientRect rcCommandBar(pCommandBar);
    FillGroupPopupToolBar(pDC, pRibbonGroup, pCommandBar);
    pRibbonGroup->Draw(pDC, rcCommandBar);
}



void CXTPRibbonGroupPopupToolBar::DrawCommandBar(CDC* pDC, CRect rcClipBox)
{
    UNREFERENCED_PARAMETER(rcClipBox);

    m_pRibbonBar->GetRibbonPaintManager()->DrawRibbonGroupPopupToolBar(pDC, m_pRibbonGroup, this);
}


Back to Top
astoyan View Drop Down
Admin Group
Admin Group
Avatar

Joined: 24 August 2013
Status: Offline
Points: 304
Post Options Post Options   Thanks (0) Thanks(0)   Quote astoyan Quote  Post ReplyReply Direct Link To This Post Posted: 26 June 2014 at 9:29pm
Hello Michl,

The issue has been addressed and fixedm the changes are currently available in the latest beta release. Can you please check it out and make sure the problem does not exist in your scenario anymore?

Thank you.
Regards,
  Alexander Stoyan
Back to Top
Michl View Drop Down
Senior Member
Senior Member


Joined: 14 September 2007
Status: Offline
Points: 138
Post Options Post Options   Thanks (0) Thanks(0)   Quote Michl Quote  Post ReplyReply Direct Link To This Post Posted: 27 June 2014 at 5:17am
Seems to be working again Wink
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.