<?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 : CXTPPreviewCtrl does not &quot;scroll&quot; to the top</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : CXTPPreviewCtrl does not &quot;scroll&quot; to the top]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 21:02:59 +0000</pubDate>
  <lastBuildDate>Tue, 17 Aug 2021 03:26:58 +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=24187</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[CXTPPreviewCtrl does not &quot;scroll&quot; to the top : It turns out that the &amp;#034;real&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24187&amp;PID=78194&amp;title=cxtppreviewctrl-does-not-scroll-to-the-top#78194</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5742">docontrol</a><br /><strong>Subject:</strong> 24187<br /><strong>Posted:</strong> 17 August 2021 at 3:26am<br /><br /><div>It turns out that the "real" Windows Explorer behaves roughly the same. Sometimes document previews load fine, and other times they skip the first paragraph of the document. Clicking on the preview or scrolling causes the preview to refresh and display correctly.</div><div><br></div><div>That leads me to another request. Since clicking on the preview seems to resolve the problem, isn't there some way to code a workaround?&nbsp;</div><div><br></div><div>I have successfully used "UINT SendInput(UINT cInputs, LPINPUT pInputs, int cbSize)" to click on the preview, which works quite well. Of course, I would prefer a method that does not move the mouse cursor, but using SendMessage/PostMessage doesn't seem to work for me.</div><div><br></div><div>In my case, CXTPPreviewCtrl is placed in a docking pane, and dragging the pane also leads to a refresh of the preview content. I have also tried to do that programmatically, but so far, no success.</div><div><br></div><div>Any suggestions?</div>]]>
   </description>
   <pubDate>Tue, 17 Aug 2021 03:26:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24187&amp;PID=78194&amp;title=cxtppreviewctrl-does-not-scroll-to-the-top#78194</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPreviewCtrl does not &quot;scroll&quot; to the top : I have implemented the new CXTPPreviewCtrl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24187&amp;PID=78182&amp;title=cxtppreviewctrl-does-not-scroll-to-the-top#78182</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5742">docontrol</a><br /><strong>Subject:</strong> 24187<br /><strong>Posted:</strong> 10 August 2021 at 1:38pm<br /><br /><div>I have implemented the new CXTPPreviewCtrl control in a project and noticed afterward that previewing Microsoft Word documents (docx) does not always start at the top of the content. The behavior seems quite random, and previewing the same document might sometimes work. The scroll bars, however, indicate that the content location is at the top. Clicking in the preview window triggers a window refresh, after which the content looks okay.</div><div><br></div><div>The behavior is the same in the WinExplorer Sample, so you should be able to replicate it.</div><div><br></div><div>To be more accurate, I briefly (less than 1 second) see the preview content generate correctly, and then it changes the location in the content a few blocks down. It might simply be a sample code error.</div><div><br></div><div>The "real" Windows Explorer preview works fine on the same documents, so it is not a Microsoft issue.</div><div><br></div><div>To rule out issues related to Visual Studio, I also downloaded the Live example from codejock.com, which behaves the same way.</div>]]>
   </description>
   <pubDate>Tue, 10 Aug 2021 13:38:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24187&amp;PID=78182&amp;title=cxtppreviewctrl-does-not-scroll-to-the-top#78182</guid>
  </item> 
 </channel>
</rss>