<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : [Solved] CMarkupStatic: Background transparency?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : [Solved] CMarkupStatic: Background transparency?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 04:51:29 +0000</pubDate>
  <lastBuildDate>Sat, 26 Jun 2010 08:55:06 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=16883</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[[Solved] CMarkupStatic: Background transparency? : XTP 13.4. Using CMarkupStatic...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16883&amp;PID=59113&amp;title=solved-cmarkupstatic-background-transparency#59113</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 16883<br /><strong>Posted:</strong> 26 June 2010 at 8:55am<br /><br /><DIV>XTP 13.4. Using CMarkupStatic class...</DIV><DIV>&nbsp;</DIV><DIV>XTPMarkupDrawingContext.cpp(296) contains this:</DIV><DIV>&nbsp;</DIV><DIV>if (CXTPMarkupColor::ConvertFromString(*((CXTPMarkupString*)pObject), clr))<BR>{<BR>&nbsp;&nbsp;&nbsp; return new CXTPMarkupSolidColorBrush((BYTE)(clr &gt;&gt; 24), clr &amp; 0xFFFFFF);<BR>}</DIV><DIV>&nbsp;</DIV><DIV>What if clr == 0x<strong>00</strong>ffffff?</DIV><DIV>&nbsp;</DIV><DIV><DIV>&lt;TextBlock Background='<strong>Transparent</strong>'&gt;White background?!&lt;/TextBlock&gt;</DIV><DIV>&nbsp;</DIV></DIV><DIV>&nbsp;</DIV><DIV>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!</DIV><DIV>&nbsp;</DIV><DIV>How do I solve it?</DIV><DIV>--------</DIV><DIV>&nbsp;</DIV><DIV><strong>Edit: </strong>Searched this forum for CMarkupStatic and found the solution.</DIV>]]>
   </description>
   <pubDate>Sat, 26 Jun 2010 08:55:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16883&amp;PID=59113&amp;title=solved-cmarkupstatic-background-transparency#59113</guid>
  </item> 
 </channel>
</rss>