Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - [Solved] CMarkupStatic: Background transparency?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[Solved] CMarkupStatic: Background transparency?

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: [Solved] CMarkupStatic: Background transparency?
    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/
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.