Menu shadow is 100% black above DirectShow surface |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 13 November 2009 at 7:27am |
XTP 12.0.1.
The shadow goes completely black here. I guess you perform some XOR operation with the underlying GDI, which is (I guess) black.
I'm not sure if I'd call this a bug, but it's indeed a problem. The menu is ugly when our 3D window is shown :(
(Since this is a hardware-accelerated DirectShow surface, I had to paint the white background myself)
|
|
PokerMemento - http://www.pokermemento.com/
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
We use stadnard UpdateLayeredWindow API method to make shadow transparent.
you can disable Alpha shadow with such patch:
BOOL CXTPShadowManager::IsAlphaShadow()
{ return FALSE; } |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Ok, will try that. Thanks.
|
|
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 |