Print Page | Close Window

Bug: Painting problem in ribbon popups

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=22291
Printed Date: 06 October 2024 at 8:40am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Bug: Painting problem in ribbon popups
Posted By: Michl
Subject: Bug: Painting problem in ribbon popups
Date 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);
}





Replies:
Posted By: astoyan
Date 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


Posted By: Michl
Date Posted: 27 June 2014 at 5:17am
Seems to be working again Wink



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net