<?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 : DockingPaneAutoHideWnd::CloseWindow Issue</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : DockingPaneAutoHideWnd::CloseWindow Issue]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 00:01:17 +0000</pubDate>
  <lastBuildDate>Wed, 25 Aug 2004 12:05:10 +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=1101</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[DockingPaneAutoHideWnd::CloseWindow Issue : I will send you an example... ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1101&amp;PID=2882&amp;title=dockingpaneautohidewndclosewindow-issue#2882</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=675">developer</a><br /><strong>Subject:</strong> 1101<br /><strong>Posted:</strong> 25 August 2004 at 12:05pm<br /><br />I will send you an example...]]>
   </description>
   <pubDate>Wed, 25 Aug 2004 12:05:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1101&amp;PID=2882&amp;title=dockingpaneautohidewndclosewindow-issue#2882</guid>
  </item> 
  <item>
   <title><![CDATA[DockingPaneAutoHideWnd::CloseWindow Issue : ???  PostMessage sends WM_CLOSE...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1101&amp;PID=2873&amp;title=dockingpaneautohidewndclosewindow-issue#2873</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1101<br /><strong>Posted:</strong> 25 August 2004 at 1:39am<br /><br /><P>??? <IMG src="http://forum.codejock.com/smileys/smiley5.gif" border="0"></P><P>PostMessage sends WM_CLOSE to self window.&nbsp;&nbsp;</P><P>Can I see you code? </P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 25 Aug 2004 01:39:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1101&amp;PID=2873&amp;title=dockingpaneautohidewndclosewindow-issue#2873</guid>
  </item> 
  <item>
   <title><![CDATA[DockingPaneAutoHideWnd::CloseWindow Issue : When the pane hides, the OnTimer...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1101&amp;PID=2868&amp;title=dockingpaneautohidewndclosewindow-issue#2868</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=675">developer</a><br /><strong>Subject:</strong> 1101<br /><strong>Posted:</strong> 24 August 2004 at 3:07pm<br /><br />When the pane hides, the OnTimer event calls this code<br /><br /><table width="99%"><tr><td><pre class="BBcode"><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (nIDEvent == TID_SLIDEOUT && m_bSlideOut)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;m_nSlideStep--;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;if (m_nSlideStep &gt; -1) DoSlideStep();<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;else <br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;{<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_bSlideOut   = FALSE;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;KillTimer(TID_SLID EOUT);<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CloseWindow( ); &lt;-- Here<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /></pre></td></tr></table><br /><br />which calls the CloseWindow code <br /><br /><table width="99%"><tr><td><pre class="BBcode"><br />void CXTPDockingPaneAutoHideWnd::CloseWindow()<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (!IsWindow(m_hWnd))<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;return;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ShowWindow(SW_HIDE);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (m_pPane && m_pPane-&gt;GetSafeHwnd() && m_pPane-&gt;GetParent() == this)<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp ;  ;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;m_pPane-&gt;ShowWindow(SW_HIDE); <br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;m_pPane-&gt;SetParentFrame(GetDockingPaneM anager()-&gt;GetSi te());&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_pPane = 0;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (m_pPanel && m_pPanel-&gt;m_pActiveWnd == this)<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;m_pPanel-&gt;m_pActiveWnd  = 0;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PostMessage(WM_CLOSE); &lt;-- Here<br />}<br /></pre></td></tr></table><br /><br />but the PostMessage gets the active document and tries to close it... That is a problem. It is getting the document in my CMDIChildFrameWnd (which has changed) and tries to close the document. Why is this happening? Every time someone Autohides a pane and has modified the document, It asks if the user wants to save... they are not closing any document. they are Auto Hiding a pane. Please help.<span style="font-size:10px"><br /><br />Edited by developer</span>]]>
   </description>
   <pubDate>Tue, 24 Aug 2004 15:07:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1101&amp;PID=2868&amp;title=dockingpaneautohidewndclosewindow-issue#2868</guid>
  </item> 
 </channel>
</rss>