<?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 : SysMenu Close Not Working</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : SysMenu Close Not Working]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 22:52:55 +0000</pubDate>
  <lastBuildDate>Fri, 19 Mar 2004 13:11:39 +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=521</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[SysMenu Close Not Working : By the way, you can reproduce...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=521&amp;PID=1403&amp;title=sysmenu-close-not-working#1403</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=395">DougW</a><br /><strong>Subject:</strong> 521<br /><strong>Posted:</strong> 19 March 2004 at 1:11pm<br /><br /><P>By the way, you can reproduce this using the GUI_OneNote sample.&nbsp; Simply set the NoClosable flag for the pane on the right.&nbsp; I modified the code as follows:</P><FONT size=2><P>CXTPDockingPane* pPaneTasks = m_paneManager.CreatePane(IDR_PANE_NEW,</P><P>CRect(0, 0,200, 120), dockRightOf);</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (pPaneTasks)</P><P>{</P><P>&nbsp;&nbsp;&nbsp; pPaneTasks-&gt;SetOptions(xtpPaneNoCloseable | xtpPaneNoHideable);</P><P>}</P><P>&nbsp;</P><P>When you run the app, just undock the pane and you will see a close box.&nbsp; If you set a break-point in the notify handler and click the close box you'll never hit the break-point.&nbsp; If you comment out the SetOptions call then you will hit the break.</P><P>BTW: I did remember to delete the registry node before each run... <IMG src="http://forum.codejock.com/smileys/smiley1.gif" border="0"></P><P>&nbsp;</P><P>&nbsp;</P></FONT>]]>
   </description>
   <pubDate>Fri, 19 Mar 2004 13:11:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=521&amp;PID=1403&amp;title=sysmenu-close-not-working#1403</guid>
  </item> 
  <item>
   <title><![CDATA[SysMenu Close Not Working : OK, I&amp;#039;ve figured out a little...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=521&amp;PID=1402&amp;title=sysmenu-close-not-working#1402</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=395">DougW</a><br /><strong>Subject:</strong> 521<br /><strong>Posted:</strong> 19 March 2004 at 1:05pm<br /><br /><P>OK, I've figured out a little more...&nbsp; On&nbsp;the pane that doesn't close it's because I am setting the <FONT size=2>xtpPaneNoCloseable flag.&nbsp; OK, simple enough.&nbsp; However, the close box still appears when I undock the pane (not when docked).</FONT></P><P><FONT size=2>I would think that the close box would not be displayed if the NoCloseable flag is set.&nbsp; In any case, the notify handler does not get the event when the flag is set so I cannot tell my users why clicking on the close box isn't doing anything.</FONT></P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 19 Mar 2004 13:05:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=521&amp;PID=1402&amp;title=sysmenu-close-not-working#1402</guid>
  </item> 
  <item>
   <title><![CDATA[SysMenu Close Not Working : Give me the code where you create...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=521&amp;PID=1317&amp;title=sysmenu-close-not-working#1317</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 521<br /><strong>Posted:</strong> 12 March 2004 at 2:36pm<br /><br />Give me the code where you create and attach&nbsp; pane.]]>
   </description>
   <pubDate>Fri, 12 Mar 2004 14:36:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=521&amp;PID=1317&amp;title=sysmenu-close-not-working#1317</guid>
  </item> 
  <item>
   <title><![CDATA[SysMenu Close Not Working : I have an application that has...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=521&amp;PID=1312&amp;title=sysmenu-close-not-working#1312</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=395">DougW</a><br /><strong>Subject:</strong> 521<br /><strong>Posted:</strong> 12 March 2004 at 10:17am<br /><br /><P>I have an application that has a "normal" docking pane as well as a task panel inside of a docking pane.&nbsp; The "normal" pane simply contains a CWnd derived window.&nbsp; The "normal" pane works fine.&nbsp; That is, if I right-click in the title bar to display the system menu and I select Close, it closes the pane.</P><P>The other pane, which contains a <FONT size=2>CXTPTaskPanel does not close when I select Close.</FONT></P><P><FONT size=2>I have tried the GUI_OneNote sample and it works perfectly.&nbsp; Any idea why my app doesn't respond to the Close?&nbsp;&nbsp; By the way, I put a break-point in the <FONT size=2>OnDockingPaneNotify event handler and for my Task Panel pane it never gets called.&nbsp; (It does for the other/normal pane).</P></FONT></FONT>]]>
   </description>
   <pubDate>Fri, 12 Mar 2004 10:17:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=521&amp;PID=1312&amp;title=sysmenu-close-not-working#1312</guid>
  </item> 
 </channel>
</rss>