<?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 : Problems with SavePlacement/LoadPlacement</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Problems with SavePlacement/LoadPlacement]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 03:27:23 +0000</pubDate>
  <lastBuildDate>Wed, 25 Apr 2007 03:57:22 +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=6965</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[Problems with SavePlacement/LoadPlacement : Ok, I solved it by doing CRect...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6965&amp;PID=22279&amp;title=problems-with-saveplacement-loadplacement#22279</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2889">Staffan V</a><br /><strong>Subject:</strong> 6965<br /><strong>Posted:</strong> 25 April 2007 at 3:57am<br /><br />Ok, I solved it by doing<br><font color="#000099">&nbsp;&nbsp;&nbsp; CRect rectOldWin;<br>&nbsp;&nbsp;&nbsp; CRect rectNewWin;<br><br>&nbsp;&nbsp;&nbsp; GetWindowRect(rectOldWin);<br>&nbsp;&nbsp;&nbsp; LoadPlacement(_T("MyWin"));<br>&nbsp;&nbsp;&nbsp; GetWindowRect(rectNewWin);<br><br>&nbsp;&nbsp;&nbsp; rectNewWin.bottom = rectNewWin.top + rectOldWin.Height();<br>&nbsp;&nbsp;&nbsp; rectNewWin.right = rectNewWin.left + rectOldWin.Width();<br>&nbsp;&nbsp;&nbsp; MoveWindow(rectNewWin, true);<br></font><br>]]>
   </description>
   <pubDate>Wed, 25 Apr 2007 03:57:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6965&amp;PID=22279&amp;title=problems-with-saveplacement-loadplacement#22279</guid>
  </item> 
  <item>
   <title><![CDATA[Problems with SavePlacement/LoadPlacement : I&amp;#039;m using SavePlacement and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6965&amp;PID=22255&amp;title=problems-with-saveplacement-loadplacement#22255</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2889">Staffan V</a><br /><strong>Subject:</strong> 6965<br /><strong>Posted:</strong> 24 April 2007 at 8:55am<br /><br />I'm using SavePlacement and LoadPlacement to save (and load) the window placements and I have two problems.<br><br>1) hidden windows become visible when I do LoadPlacement, but that's easy to handle (just hide them again after&nbsp;LoadPlacement)<br>2) the main menu has a menu bar and it seem the size of the window is saved including the height of the menu, but then it's loaded and then extra space is added for the menu even if it already has the space. Very annoying.<br>]]>
   </description>
   <pubDate>Tue, 24 Apr 2007 08:55:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6965&amp;PID=22255&amp;title=problems-with-saveplacement-loadplacement#22255</guid>
  </item> 
 </channel>
</rss>