Print Page | Close Window

SystemTheme FillWorkspace bug!

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=15566
Printed Date: 30 September 2024 at 3:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SystemTheme FillWorkspace bug!
Posted By: znakeeye
Subject: SystemTheme FillWorkspace bug!
Date Posted: 07 November 2009 at 8:44pm
XTP 13.2.1.
 
In my ribbon-application I use this function to fill the background of a pane:
XTPPaintManager()->FillWorkspace(pDC, rcDest, rcExclude);
 
It works for all ribbon themes except "System". When "System" is active, my rcExclude seems to be ignored. It simply fills my window with gray color!
 
Note that I use XTPSkinManager to skin my dialogs to match my ribbon!


-------------
PokerMemento - http://www.pokermemento.com/



Replies:
Posted By: znakeeye
Date Posted: 07 November 2009 at 8:49pm
Hah! ;-)
 
void CXTPPaintManager::FillWorkspace(CDC* pDC, CRect rc, CRect /*rcExclude*/)
{
    pDC->FillSolidRect(rc, GetXtremeColor(COLOR_APPWORKSPACE));
}


-------------
PokerMemento - http://www.pokermemento.com/



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