<?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 : Pane Data &amp; Layouts</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Pane Data &amp; Layouts]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 16:33:06 +0000</pubDate>
  <lastBuildDate>Fri, 20 Jul 2007 09:56:36 +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=7628</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[Pane Data &amp; Layouts : Well, I did find a way to cache...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7628&amp;PID=24595&amp;title=pane-data-layouts#24595</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3003">mrmathis</a><br /><strong>Subject:</strong> 7628<br /><strong>Posted:</strong> 20 July 2007 at 9:56am<br /><br />Well, I did find a way to cache my data elsewhere in my app, but I would appreciate some background into why Codejock works this way.&nbsp; Am I using the pane data in some way other than it is intended?&nbsp; What is the intended purpose of this data?&nbsp; I have used, for example, the similar item-data concept on generic Win32 tree controls items for many years as a convenient place to cache pointers.<br><br>Also, what about the flashing?&nbsp; I do see all panes flash if I successively apply layouts that, say, differ only by a single window position.<br><br>]]>
   </description>
   <pubDate>Fri, 20 Jul 2007 09:56:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7628&amp;PID=24595&amp;title=pane-data-layouts#24595</guid>
  </item> 
  <item>
   <title><![CDATA[Pane Data &amp; Layouts : Hi, Just don&amp;#039;t use itthis...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7628&amp;PID=24570&amp;title=pane-data-layouts#24570</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7628<br /><strong>Posted:</strong> 20 July 2007 at 2:52am<br /><br /><DIV>Hi,</DIV><DIV>Just don't use it&nbsp;this way. </DIV><DIV>Create some internal CMap to map id to you pointer. </DIV>]]>
   </description>
   <pubDate>Fri, 20 Jul 2007 02:52:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7628&amp;PID=24570&amp;title=pane-data-layouts#24570</guid>
  </item> 
  <item>
   <title><![CDATA[Pane Data &amp; Layouts : I am using the CXTPDockingPane::GetPaneData/SetPaneData...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7628&amp;PID=24541&amp;title=pane-data-layouts#24541</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3003">mrmathis</a><br /><strong>Subject:</strong> 7628<br /><strong>Posted:</strong> 19 July 2007 at 10:40am<br /><br />I am using the CXTPDockingPane::GetPaneData/SetPaneData APIs to cache a pointer on each of my panes.&nbsp; I use the pointers during various operations and transitions in my app to help me get the right data in the windows attached to the panes. I recently started using CXTPDockingPaneLayout to save and restore my docking pane arrangement during some of my app's transitions.&nbsp; This might be in a single session, or in subsequent invocations of my app.&nbsp; I had a few surprises.<br><br>First, the panes themselves are actually destroyed and recreated when a layout is applied, with the attached child windows transferring to the new pane.&nbsp; I had assumed that the panes would simply reposition.&nbsp; My question is whether this will cause any undue "flashing" on the screen if, for example, a pane or three doesn't really have to move around from one layout to another?<br><br>My biggest problem, though, is that the layout stores the pane's m_dwData value to the registry under the name "Tag" and restores that value when the layout is applied.&nbsp; Since that value is a pointer for me, that doesn't work out too well, especially in separate sessions.&nbsp; To be clear, here is what I see:&nbsp; I create some panes as my app initializes, caching my pointers to dynamically determined data.&nbsp; Later I load and apply a layout, and my cached pointers are overwritten with the value stored in the layout.&nbsp; The next time I attempted to de-reference the pointer, I crash.<br><br>Is there any (easy) way to avoid or override this behavior?&nbsp; I would really rather not get in the middle of all the Clone and Copy calls bouncing around in this operation.<br><br>--Mike<br><br>]]>
   </description>
   <pubDate>Thu, 19 Jul 2007 10:40:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7628&amp;PID=24541&amp;title=pane-data-layouts#24541</guid>
  </item> 
 </channel>
</rss>