<?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 : Track control blocks being clamped to position</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Track control blocks being clamped to position]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 03 Apr 2026 19:47:37 +0000</pubDate>
  <lastBuildDate>Mon, 24 May 2010 23:47:13 +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=16750</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[Track control blocks being clamped to position : I have added some CXTPTrackBlock...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16750&amp;PID=58656&amp;title=track-control-blocks-being-clamped-to-position#58656</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5402">Aaron Koolen</a><br /><strong>Subject:</strong> 16750<br /><strong>Posted:</strong> 24 May 2010 at 11:47pm<br /><br />I have added some CXTPTrackBlock items to a TrackControl and their positions are being modified underneath me. After creating the control but before it's displayed I insert a series of items. However the code inside void CXTPTrackControlItem::RecalcLayout() clamps the block within the arbitraty value 320000.<br><br>This is happening because the TrackControl associated with a block is only ever set when the TrackControlItem that houses the block is drawn. And because I'm populating the control before it's first drawn the code clamps&nbsp; the position.<br><br>Is there a suggested workaround to this? It seems the only real way around this is to wait until the first draw of the TrackControl before populating it.<br><br>Thoughts?<br><br><br>]]>
   </description>
   <pubDate>Mon, 24 May 2010 23:47:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16750&amp;PID=58656&amp;title=track-control-blocks-being-clamped-to-position#58656</guid>
  </item> 
 </channel>
</rss>