<?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 : Report Control stopped printing Icons</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Report Control stopped printing Icons]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 14 Apr 2026 09:48:57 +0000</pubDate>
  <lastBuildDate>Wed, 12 May 2021 04:51:45 +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=24153</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[Report Control stopped printing Icons : I found something out...in the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24153&amp;PID=78096&amp;title=report-control-stopped-printing-icons#78096</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2184">PanicMan</a><br /><strong>Subject:</strong> 24153<br /><strong>Posted:</strong> 12 May 2021 at 4:51am<br /><br /><div>I found something out...</div><div><br></div><div>in the CXTPReportPaintManager::DrawItemBitmap Function, there is a difference between printing or not:</div><div><table width="99%"><tr><td><pre class="BBcode">	<span style="color:#57a64a;">//&nbsp;draw&nbsp;image</span><pre style="font-family:Fira Code;font-size:12px;color:gainsboro;:#1e1e1e;">	<span style="color:#d8a0df;">if</span>&nbsp;<span style="color:#b4b4b4;">(</span><span style="color:darkkhaki;">pDrawArgs</span><span style="color:#b4b4b4;">-&gt;</span><span style="color:darkkhaki;">pDC</span><span style="color:#b4b4b4;">-&gt;</span><span style="font-style:italic;color:#ff8000;">IsPrinting</span><span style="color:#b4b4b4;">())</span>	<span style="color:#b4b4b4;">{</span>		<span style="font-style:italic;color:gold;">CBitmap</span>&nbsp;<span style="color:darkkhaki;">bmp</span><span style="color:#b4b4b4;">;</span>		<span style="color:darkkhaki;">bmp</span><span style="color:#b4b4b4;">.</span><span style="font-style:italic;color:#ff8000;">CreateCompatibleBitmap</span><span style="color:#b4b4b4;">(</span><span style="color:darkkhaki;">pDrawArgs</span><span style="color:#b4b4b4;">-&gt;</span><span style="color:darkkhaki;">pDC</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:darkkhaki;">szImage</span><span style="color:#b4b4b4;">.</span><span style="font-style:italic;color:darkkhaki;">cx</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:darkkhaki;">szImage</span><span style="color:#b4b4b4;">.</span><span style="font-style:italic;color:darkkhaki;">cy</span><span style="color:#b4b4b4;">);</span>		<span style="color:gold;">CXTPCompatibleDC</span>&nbsp;<span style="color:darkkhaki;">dcMem</span><span style="color:#b4b4b4;">(</span><span style="font-style:italic;color:#bd63c5;">NULL</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:#b4b4b4;">&amp;</span><span style="color:darkkhaki;">bmp</span><span style="color:#b4b4b4;">);</span>		<span style="color:darkkhaki;">dcMem</span><span style="color:#b4b4b4;">.</span><span style="font-style:italic;color:#ff8000;">FillSolidRect</span><span style="color:#b4b4b4;">(</span><span style="color:#b5cea8;">0</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:#b5cea8;">0</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:darkkhaki;">szImage</span><span style="color:#b4b4b4;">.</span><span style="font-style:italic;color:darkkhaki;">cx</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:darkkhaki;">szImage</span><span style="color:#b4b4b4;">.</span><span style="font-style:italic;color:darkkhaki;">cy</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:darkkhaki;">pDrawArgs</span><span style="color:#b4b4b4;">-&gt;</span><span style="color:darkkhaki;">pDC</span><span style="color:#b4b4b4;">-&gt;</span><span style="font-style:italic;color:#ff8000;">GetBkColor</span><span style="color:#b4b4b4;">());</span> 		<span style="color:darkkhaki;">pIcon</span><span style="color:#b4b4b4;">-&gt;</span><span style="color:#ff8000;">Draw</span><span style="color:#b4b4b4;">(&amp;</span><span style="color:darkkhaki;">dcMem</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="font-style:italic;color:gold;">CPoint</span><span style="color:#b4b4b4;">(</span><span style="color:#b5cea8;">0</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:#b5cea8;">0</span><span style="color:#b4b4b4;">),</span>&nbsp;<span style="color:darkkhaki;">pIcon</span><span style="color:#b4b4b4;">-&gt;</span><span style="color:#ff8000;">GetIcon</span><span style="color:#b4b4b4;">());</span>		<span style="color:darkkhaki;">pDrawArgs</span><span style="color:#b4b4b4;">-&gt;</span><span style="color:darkkhaki;">pDC</span><span style="color:#b4b4b4;">-&gt;</span><span style="font-style:italic;color:#ff8000;">BitBlt</span><span style="color:#b4b4b4;">(</span><span style="color:darkkhaki;">ptIcon</span><span style="color:#b4b4b4;">.</span><span style="font-style:italic;color:darkkhaki;">x</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:darkkhaki;">ptIcon</span><span style="color:#b4b4b4;">.</span><span style="font-style:italic;color:darkkhaki;">y</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:darkkhaki;">szImage</span><span style="color:#b4b4b4;">.</span><span style="font-style:italic;color:darkkhaki;">cx</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:darkkhaki;">szImage</span><span style="color:#b4b4b4;">.</span><span style="font-style:italic;color:darkkhaki;">cy</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:#b4b4b4;">&amp;</span><span style="color:darkkhaki;">dcMem</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:#b5cea8;">0</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:#b5cea8;">0</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="font-style:italic;color:#bd63c5;">SRCCOPY</span><span style="color:#b4b4b4;">);</span>	<span style="color:#b4b4b4;">}</span>	<span style="color:#d8a0df;">else</span>	<span style="color:#b4b4b4;">{</span>		<span style="color:darkkhaki;">pIcon</span><span style="color:#b4b4b4;">-&gt;</span><span style="color:#ff8000;">Draw</span><span style="color:#b4b4b4;">(</span><span style="color:darkkhaki;">pDrawArgs</span><span style="color:#b4b4b4;">-&gt;</span><span style="color:darkkhaki;">pDC</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:darkkhaki;">ptIcon</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:darkkhaki;">pIcon</span><span style="color:#b4b4b4;">-&gt;</span><span style="color:#ff8000;">GetIcon</span><span style="color:#b4b4b4;">(),</span>&nbsp;<span style="color:#b5cea8;">0</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:darkkhaki;">pDrawArgs</span><span style="color:#b4b4b4;">-&gt;</span><span style="color:darkkhaki;">pRow</span><span style="color:#b4b4b4;">-&gt;</span><span style="color:#ff8000;">IsSelected</span><span style="color:#b4b4b4;">()</span>&nbsp;<span style="color:#b4b4b4;">?</span>&nbsp;<span style="color:#ff8000;">GetXtremeColor</span><span style="color:#b4b4b4;">(</span><span style="font-style:italic;color:#bd63c5;">COLOR_HIGHLIGHT</span><span style="color:#b4b4b4;">)</span>&nbsp;<span style="color:#b4b4b4;">:</span>&nbsp;<span style="font-style:italic;color:#bd63c5;">CLR_NONE</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:darkkhaki;">pDrawArgs</span><span style="color:#b4b4b4;">-&gt;</span><span style="color:darkkhaki;">pRow</span><span style="color:#b4b4b4;">-&gt;</span><span style="color:#ff8000;">IsSelected</span><span style="color:#b4b4b4;">()</span>&nbsp;<span style="color:#b4b4b4;">?</span>&nbsp;<span style="color:#ff8000;">GetXtremeColor</span><span style="color:#b4b4b4;">(</span><span style="font-style:italic;color:#bd63c5;">COLOR_HIGHLIGHT</span><span style="color:#b4b4b4;">)</span>&nbsp;<span style="color:#b4b4b4;">:</span>&nbsp;<span style="font-style:italic;color:#bd63c5;">CLR_NONE</span><span style="color:#b4b4b4;">,</span>&nbsp;<span style="color:darkkhaki;">pDrawArgs</span><span style="color:#b4b4b4;">-&gt;</span><span style="color:darkkhaki;">pRow</span><span style="color:#b4b4b4;">-&gt;</span><span style="color:#ff8000;">IsSelected</span><span style="color:#b4b4b4;">()</span>&nbsp;<span style="color:#b4b4b4;">?</span>&nbsp;<span style="font-style:italic;color:#bd63c5;">ILD_SELECTED</span>&nbsp;<span style="color:#b4b4b4;">:</span>&nbsp;<span style="color:#b5cea8;">0</span><span style="color:#b4b4b4;">);</span>	<span style="color:#b4b4b4;">}</span><font color="#000000"></pre></td></tr></table><br><br>For printing out Glyphs, there is no difference and when I comment out the IsPrinting Block out, everything works fine.</font><br>So the question is, is that important? I tested on two printers plus PDF Printer, everything fine.</pre></div>]]>
   </description>
   <pubDate>Wed, 12 May 2021 04:51:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24153&amp;PID=78096&amp;title=report-control-stopped-printing-icons#78096</guid>
  </item> 
  <item>
   <title><![CDATA[Report Control stopped printing Icons : Hello,since some time, we don&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24153&amp;PID=78093&amp;title=report-control-stopped-printing-icons#78093</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2184">PanicMan</a><br /><strong>Subject:</strong> 24153<br /><strong>Posted:</strong> 11 May 2021 at 10:45am<br /><br /><div>Hello,</div><div><br></div><div>since some time, we don't know for sure since when, because an customer reported it, XTP Report Control stopped printing out icons, just an small dot is printed out.<br></div><div>We have v16.3 out at the customers, I tested here with 16.3 and 17.3 both have the same issue.</div><div>18.6 and 19.1 I have also here, but can't test as all the solution files are missing. <img src="http://forum.codejock.com/smileys/smiley5.gif" border="0" alt="C&#111;nfused" title="C&#111;nfused" /><br></div><div>Tested here with the Report Control Sample, unmodified, It also don't print out the Icons:</div><div><br></div><div>What is really interesting, Glyphs are printed out, everything else not:</div><div><img src="uploads/2184/2021-05-11_16_32_23-Unbenannt_-_Codejock_Report_C&#111;ntrol_Sample.png" height="703" width="1305" border="0" /></div><div><br></div><div>Here the printout:</div><div><img src="uploads/2184/2021-05-11_16_36_56-Window.png" height="548" width="856" border="0" /></div><div><br></div><div>Tested it with several real printers, also PDF printers, all the same...</div><div>My System: Windows 10 x64 20H2 with all Updates installed.</div><div><br></div><div>Is anyone also have that error? <br></div><div>I tried to replace the report imagelist with glyphs image list, works well in the sample, but printout is the same...</div><div><br></div><div>Tried to debug the source, everything fine, no assertions, no errors, StretchBlt in the CXTPImageManagerResource::Draw Method returns true, so everything works fine, but still no Icons...</div><div><br></div><div>Any Ideas?</div><div><br></div><div>Greetings Jack<br></div>]]>
   </description>
   <pubDate>Tue, 11 May 2021 10:45:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24153&amp;PID=78093&amp;title=report-control-stopped-printing-icons#78093</guid>
  </item> 
 </channel>
</rss>