<?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 : CXTPReportControl PrintPreview</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : CXTPReportControl PrintPreview]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 05:37:18 +0000</pubDate>
  <lastBuildDate>Wed, 14 May 2014 04:41:42 +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=22087</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[CXTPReportControl PrintPreview :  void CFrame::OnPrintPreview(){...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22087&amp;PID=72491&amp;title=cxtpreportcontrol-printpreview#72491</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3301">Michl</a><br /><strong>Subject:</strong> 22087<br /><strong>Posted:</strong> 14 May 2014 at 4:41am<br /><br /><table width="99%"><tr><td><pre class="BBcode"><br>void CFrame::OnPrintPreview()<br>{<br>&nbsp;&nbsp;&nbsp; CPrintPreviewState* pState = new CPrintPreviewState;<br>&nbsp;&nbsp;&nbsp; pState-&gt;dwStates = 0;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //Auch die StatusBar soll im Print-Preview-Modus ausgeblendet werden!<br>&nbsp;&nbsp;&nbsp; if (!m_pviewReport-&gt;DoPrintPreview(XTP_IDD_PREVIEW_DIALOGBAR, m_pviewReport, RUNTIME_CLASS(CXTPPreviewView), pState))<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TRACE0( "Error: DoPrintPreview failed.\n" );<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; AfxMessageBox( AFX_IDP_COMMAND_FAILURE );<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; delete pState;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // preview failed to initialize, delete State now<br>&nbsp;&nbsp;&nbsp; }<br>}<br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Wed, 14 May 2014 04:41:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22087&amp;PID=72491&amp;title=cxtpreportcontrol-printpreview#72491</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportControl PrintPreview : Is that all I need to do to display...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22087&amp;PID=71998&amp;title=cxtpreportcontrol-printpreview#71998</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3268">vjedlicka</a><br /><strong>Subject:</strong> 22087<br /><strong>Posted:</strong> 02 December 2013 at 3:21pm<br /><br />Is that all I need to do to display a print preview?<div>I added those two lines as the last statements in the&nbsp;CReportItemControlsDlg::OnInitDialog() method (sample ReportItemControls) and nothing happened.</div>]]>
   </description>
   <pubDate>Mon, 02 Dec 2013 15:21:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22087&amp;PID=71998&amp;title=cxtpreportcontrol-printpreview#71998</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportControl PrintPreview : 	GetReportCtrl().EnablePreview...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22087&amp;PID=71984&amp;title=cxtpreportcontrol-printpreview#71984</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 22087<br /><strong>Posted:</strong> 02 December 2013 at 9:02am<br /><br /><span ="Apple-tab-span" style="line-height: 1.4; white-space: pre;">	</span><span style="line-height: 1.4;">GetReportCtrl().EnablePreviewMode(!GetReportCtrl().IsPreviewMode());</span><div><span ="Apple-tab-span" style="white-space:pre">	</span>GetReportCtrl().Populate();</div>]]>
   </description>
   <pubDate>Mon, 02 Dec 2013 09:02:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22087&amp;PID=71984&amp;title=cxtpreportcontrol-printpreview#71984</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportControl PrintPreview : How do I switchCXTPReportControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22087&amp;PID=71983&amp;title=cxtpreportcontrol-printpreview#71983</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3268">vjedlicka</a><br /><strong>Subject:</strong> 22087<br /><strong>Posted:</strong> 01 December 2013 at 1:16pm<br /><br />How do I switch&nbsp;CXTPReportControl to print-preview mode?]]>
   </description>
   <pubDate>Sun, 01 Dec 2013 13:16:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22087&amp;PID=71983&amp;title=cxtpreportcontrol-printpreview#71983</guid>
  </item> 
 </channel>
</rss>