<?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 : Dialog changes with the pane changing</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Dialog changes with the pane changing]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 05:49:01 +0000</pubDate>
  <lastBuildDate>Wed, 30 Mar 2011 09:34:35 +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=18113</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[Dialog changes with the pane changing : Oh,yes,it really changes automatically,it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18113&amp;PID=63636&amp;title=dialog-changes-with-the-pane-changing#63636</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6004">eousi</a><br /><strong>Subject:</strong> 18113<br /><strong>Posted:</strong> 30 March 2011 at 9:34am<br /><br /><P>Oh,yes,it really changes automatically,it seems my code is useless.</P>]]>
   </description>
   <pubDate>Wed, 30 Mar 2011 09:34:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18113&amp;PID=63636&amp;title=dialog-changes-with-the-pane-changing#63636</guid>
  </item> 
  <item>
   <title><![CDATA[Dialog changes with the pane changing : But I still have a problem.When...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18113&amp;PID=63624&amp;title=dialog-changes-with-the-pane-changing#63624</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6004">eousi</a><br /><strong>Subject:</strong> 18113<br /><strong>Posted:</strong> 29 March 2011 at 11:47pm<br /><br />But I still have a problem.When the pane is docked,I change the size of pane and the dialog is not at its&nbsp;proper place,it moves a little top and a little left.How can I solve this problem?]]>
   </description>
   <pubDate>Tue, 29 Mar 2011 23:47:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18113&amp;PID=63624&amp;title=dialog-changes-with-the-pane-changing#63624</guid>
  </item> 
  <item>
   <title><![CDATA[Dialog changes with the pane changing : After two days learning,I solved...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18113&amp;PID=63623&amp;title=dialog-changes-with-the-pane-changing#63623</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6004">eousi</a><br /><strong>Subject:</strong> 18113<br /><strong>Posted:</strong> 29 March 2011 at 9:53pm<br /><br />After two days learning,I solved this problem.<img src="https://forum.codejock.com/smileys/smiley36.gif" height="17" width="17" border="0" alt="LOL" title="LOL" /><DIV>I think we should use OnDockingPaneNotify message handling function.The code is below.</DIV><DIV>If you have better method or I&nbsp;have made&nbsp;some mistakes,please tell me,thank you!</DIV><DIV>LRESULT CMainFrame::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam)<BR>{</DIV><DIV>&nbsp;&nbsp;if (wParam == XTP_DPN_ACTION)<BR>&nbsp;{<BR>&nbsp; &nbsp;XTP_DOCKINGPANE_ACTION * pAction = (XTP_DOCKINGPANE_ACTION*)lParam;<BR>&nbsp; &nbsp;if (pAction-&gt;action==xtpPaneActionSplitterResized) &nbsp;//Judge if the size of DockingPane is changed<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp; CRect rcPane;&nbsp;&nbsp;&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; //Get the pane's ID and judge if it is what I want<BR>&nbsp;&nbsp;&nbsp;&nbsp;if (IDR_PANE==(pAction-&gt;pPane)-&gt;GetID())&nbsp;&nbsp;&nbsp;&nbsp;</DIV><DIV>&nbsp;&nbsp; {</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; //Get the size of this pane,m_pPane is a pointer of pane<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rcPane=m_pPane-&gt;GetPaneWindowRect();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; //make the dialog&nbsp;have the same size of&nbsp;pane<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_pDlg-&gt;SetWindowPos(NULL, 0, 0, rcPane.Width(), rcPane.Height(), SWP_NOZORDER);&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;}<BR>&nbsp;&nbsp;return TRUE;<BR>&nbsp;}<BR>&nbsp;return FALSE;<BR>}</DIV>]]>
   </description>
   <pubDate>Tue, 29 Mar 2011 21:53:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18113&amp;PID=63623&amp;title=dialog-changes-with-the-pane-changing#63623</guid>
  </item> 
  <item>
   <title><![CDATA[Dialog changes with the pane changing : Hi,thank you for your reply,Oleg.But...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18113&amp;PID=63575&amp;title=dialog-changes-with-the-pane-changing#63575</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6004">eousi</a><br /><strong>Subject:</strong> 18113<br /><strong>Posted:</strong> 25 March 2011 at 8:48pm<br /><br />Hi,thank you for your reply,Oleg.But my question is how I can make the dialog change the size automatically when I move pane.]]>
   </description>
   <pubDate>Fri, 25 Mar 2011 20:48:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18113&amp;PID=63575&amp;title=dialog-changes-with-the-pane-changing#63575</guid>
  </item> 
  <item>
   <title><![CDATA[Dialog changes with the pane changing : Hi,When you move pane, dialog...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18113&amp;PID=63548&amp;title=dialog-changes-with-the-pane-changing#63548</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 18113<br /><strong>Posted:</strong> 25 March 2011 at 6:13am<br /><br />Hi,<div><br></div><div>When you move pane, dialog should change its size automatically. if you need change layout of controls inside this dialog you can use our СXTPResizeDialog class.</div>]]>
   </description>
   <pubDate>Fri, 25 Mar 2011 06:13:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18113&amp;PID=63548&amp;title=dialog-changes-with-the-pane-changing#63548</guid>
  </item> 
  <item>
   <title><![CDATA[Dialog changes with the pane changing : Hi,I made a docking pane in a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18113&amp;PID=63518&amp;title=dialog-changes-with-the-pane-changing#63518</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6004">eousi</a><br /><strong>Subject:</strong> 18113<br /><strong>Posted:</strong> 24 March 2011 at 4:18am<br /><br />Hi,I made a docking pane in a MDI application and attached a dialog on it.But now I want to change the size of the pane and make the dialog change with the pane.How&nbsp;to solve this problem? Thanks!]]>
   </description>
   <pubDate>Thu, 24 Mar 2011 04:18:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18113&amp;PID=63518&amp;title=dialog-changes-with-the-pane-changing#63518</guid>
  </item> 
 </channel>
</rss>