[Solved] CMarkupStatic: Background transparency? |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 26 June 2010 at 8:55am |
XTP 13.4. Using CMarkupStatic class...
XTPMarkupDrawingContext.cpp(296) contains this:
if (CXTPMarkupColor::ConvertFromString(*((CXTPMarkupString*)pObject), clr))
{ return new CXTPMarkupSolidColorBrush((BYTE)(clr >> 24), clr & 0xFFFFFF); } What if clr == 0x00ffffff?
<TextBlock Background='Transparent'>White background?!</TextBlock>
Why does it produce a white background when I asked for transparency? When I specify 'Transparent' I expect it to use control's (or dialog's) background brush!
How do I solve it?
--------
Edit: Searched this forum for CMarkupStatic and found the solution.
|
|
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 |