<?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 : CXTWindowPos</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTWindowPos]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 21:42:09 +0000</pubDate>
  <lastBuildDate>Wed, 03 Aug 2005 22:19:31 +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=2677</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[CXTWindowPos : Yes, that&amp;#039;s the one Thanks!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2677&amp;PID=7996&amp;title=cxtwindowpos#7996</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 2677<br /><strong>Posted:</strong> 03 August 2005 at 10:19pm<br /><br />Yes, that's the one <IMG src="http://forum.codejock.com/smileys/smiley4.gif" border="0">&nbsp;Thanks!]]>
   </description>
   <pubDate>Wed, 03 Aug 2005 22:19:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2677&amp;PID=7996&amp;title=cxtwindowpos#7996</guid>
  </item> 
  <item>
   <title><![CDATA[CXTWindowPos : Hi, try the following.. CMyA...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2677&amp;PID=7995&amp;title=cxtwindowpos#7995</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1081">bevpet</a><br /><strong>Subject:</strong> 2677<br /><strong>Posted:</strong> 03 August 2005 at 8:11pm<br /><br /><P>Hi,</P><P>try the following..</P><P>CMyApp::InitInstance()</P><P>{</P><P>....code</P><FONT size=2><P>pMainFrame-&gt;UpdateWindow();</P><P>pMainFrame-&gt;ShowWindow(SW_SHOW);</P></FONT><P>....</P><P>}</P><P>The &#091;SW_SHOW&#093; value&nbsp;activates the window and displays it in its current size and position, so in essence it SHOULD leave the window the way you left it last.</P><P>HTH</P><P>Peter</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 03 Aug 2005 20:11:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2677&amp;PID=7995&amp;title=cxtwindowpos#7995</guid>
  </item> 
  <item>
   <title><![CDATA[CXTWindowPos : Thank you, that did the trick,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2677&amp;PID=7994&amp;title=cxtwindowpos#7994</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 2677<br /><strong>Posted:</strong> 03 August 2005 at 5:42pm<br /><br /><P>Thank you, that did the trick, but there's one remaining issue - when the window was maximized, it's not restored as maximized, but is actually of a maximized size with the "maximize" button enabled in the title bar. After you click it, the window doesn't change size (stays covering the whole screen), but the button becomes what you'd expect - "restore".</P><P>Make sense? Hope so (it's early morning here <IMG src="http://forum.codejock.com/smileys/smiley2.gif" border="0">)</P><P>Do I need to use ShowWindow() for the main frame in InitInstance() if I'm using CXTWindowPos? Maybe they're conflicting with each other?</P><P>Thanks!</P>]]>
   </description>
   <pubDate>Wed, 03 Aug 2005 17:42:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2677&amp;PID=7994&amp;title=cxtwindowpos#7994</guid>
  </item> 
  <item>
   <title><![CDATA[CXTWindowPos :  int CMainFrame::OnCreate(LPCREATESTRUCT...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2677&amp;PID=7991&amp;title=cxtwindowpos#7991</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1081">bevpet</a><br /><strong>Subject:</strong> 2677<br /><strong>Posted:</strong> 03 August 2005 at 12:11pm<br /><br /><FONT color=#0000ff size=2><P>int</FONT><FONT size=2> CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)</P><P>{</P></FONT><FONT size=2><P>CXTWindowPos wndPosition;</P><P>wndPosition.LoadWindowPos(</FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2>);</FONT></P><P><FONT size=2>}</FONT></P><P><FONT size=2><FONT color=#0000ff size=2>void</FONT><FONT size=2> CMainFrame::OnClose()</P><P>{</P></FONT><FONT color=#0000ff size=2><P>#ifdef</FONT><FONT size=2> _XTP_INCLUDE_CONTROLS</P><P>CXTWindowPos wndPosition;</P><P>wndPosition.SaveWindowPos(</FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2>);</P></FONT><FONT color=#0000ff size=2><P>#endif</P></FONT><FONT size=2><P>CMDIFrameWnd::OnClose();</P><P>}</P></FONT></FONT>]]>
   </description>
   <pubDate>Wed, 03 Aug 2005 12:11:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2677&amp;PID=7991&amp;title=cxtwindowpos#7991</guid>
  </item> 
  <item>
   <title><![CDATA[CXTWindowPos : Hi, Just wondering has something...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2677&amp;PID=7987&amp;title=cxtwindowpos#7987</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 2677<br /><strong>Posted:</strong> 03 August 2005 at 6:48am<br /><br /><P>Hi,</P><P>Just wondering has something changed about the usage of CXTWindowPos from 9.6 to 9.7? It doesn't seem to work anymore <IMG src="http://forum.codejock.com/smileys/smiley5.gif" border="0"></P><P>Could you please give me a sample usage of it, so that my main window's position is stored/loaded correctly?</P><P>Thank you!</P>]]>
   </description>
   <pubDate>Wed, 03 Aug 2005 06:48:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2677&amp;PID=7987&amp;title=cxtwindowpos#7987</guid>
  </item> 
 </channel>
</rss>