<?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 : Bug: Print Selected fails</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Bug: Print Selected fails]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 04 Jun 2026 08:01:16 +0000</pubDate>
  <lastBuildDate>Tue, 07 Aug 2012 20:17:23 +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=20023</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[Bug: Print Selected fails : With Selected radio button set...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20023&amp;PID=68711&amp;title=bug-print-selected-fails#68711</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2657">Algae</a><br /><strong>Subject:</strong> 20023<br /><strong>Posted:</strong> 07 August 2012 at 8:17pm<br /><br />With Selected radio button set in the Print dialog the selection is ignored and the entire document prints anyhow.<br><br>During trace in OnPreparePrinting:<br><br>There ARE selected rows.<br>m_bPrintSelection is TRUE.<br><br>BOOL CXTPReportView::OnPreparePrinting(CPrintInfo* pInfo)<br>{<br>&nbsp;&nbsp;&nbsp; if (GetReportCtrl().IsIconView())<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; GetReportCtrl().SetIconView(FALSE);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_bSwitchMode = TRUE;<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; m_bShowRowNumber = GetReportCtrl().IsShowRowNumber();<br>&nbsp;&nbsp;&nbsp; GetReportCtrl().ShowRowNumber(FALSE);<br><br>&nbsp;&nbsp;&nbsp; if (GetReportCtrl().GetSelectedRows()-&gt;GetCount() &gt; 0)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pInfo-&gt;m_pPD-&gt;m_pd.Flags &amp;= ~PD_NOSELECTION;<br><br>&nbsp;&nbsp;&nbsp; pInfo-&gt;m_bDirect = m_bPrintDirect;<br><br>&nbsp;&nbsp;&nbsp; // default preparation<br>&nbsp;&nbsp;&nbsp; if (!DoPreparePrinting(pInfo))<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return FALSE;<br><br>&nbsp;&nbsp;&nbsp; m_bPrintSelection = pInfo-&gt;m_pPD-&gt;PrintSelection();<br><br>&nbsp;&nbsp;&nbsp; return TRUE;<br>}<br><br>This is reproducible in the ReportSample.<br><br>Any chance this can be fixed? Thanks! <br><br>Static unicode build.<br>Toolkit version 15.3.1<br>Visual Studio 10.0<br>Win 7 X 64 professional.<br><br>]]>
   </description>
   <pubDate>Tue, 07 Aug 2012 20:17:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20023&amp;PID=68711&amp;title=bug-print-selected-fails#68711</guid>
  </item> 
 </channel>
</rss>