<?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 : Opening a pane while in a modal dialog</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Opening a pane while in a modal dialog]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 11:26:14 +0000</pubDate>
  <lastBuildDate>Wed, 03 Apr 2013 10:18:25 +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=21574</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[Opening a pane while in a modal dialog : I&amp;#039;ve got a situation here...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21574&amp;PID=70784&amp;title=opening-a-pane-while-in-a-modal-dialog#70784</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4983">trunkmonkey</a><br /><strong>Subject:</strong> 21574<br /><strong>Posted:</strong> 03 April 2013 at 10:18am<br /><br />I've got a situation here that I didn't see already on the forum.<div><br></div><div>So, from within a modal dialog, I'm sending a message to the main frame to open a pane which WAS open but is currently closed. If the pane was previously in a docked state, it opens and shows itself, no problem.</div><div><br></div><div>But if the pane had been floating when it was open, it now opens up IN FRONT of the modal dialog. If I try to move the pane at all while the dialog is still open, it crashes the program.&nbsp;</div><div><br></div><div>I don't know if it's coming to the front because of focus getting set or what, but is there any way to ensure that it launches behind the modal dialog?</div><div><br></div><div>Here's the code I'm using to open the pane. At this point, pPane and pFrameWnd are valid.</div><div><br></div><div><table width="99%"><tr><td><pre class="BBcode"><br><div>if (pFrameWnd)</div><div>{</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>pPane-&gt;Attach(pFrameWnd);</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>pPane-&gt;SetTitle(CString(String(IDS_MY_PANE_TITLE)));</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>GetProgramFrame()-&gt;GetDockingPaneManager()-&gt;ShowPane( MY_PANE_ID );</div><div><span style="line-height: 1.4;">}</span></div></pre></td></tr></table></div>]]>
   </description>
   <pubDate>Wed, 03 Apr 2013 10:18:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21574&amp;PID=70784&amp;title=opening-a-pane-while-in-a-modal-dialog#70784</guid>
  </item> 
 </channel>
</rss>