![]() |
SystemTheme FillWorkspace bug! |
Post Reply ![]() |
Author | |
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() 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/
|
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
Hah! ;-)
void CXTPPaintManager::FillWorkspace(CDC* pDC, CRect rc, CRect /*rcExclude*/)
{ pDC->FillSolidRect(rc, GetXtremeColor(COLOR_APPWORKSPACE)); } |
|
PokerMemento - http://www.pokermemento.com/
|
|
![]() |
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 |