<?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 : Handling Close button of XTPFramwWnd</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Handling Close button of XTPFramwWnd]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 18:21:54 +0000</pubDate>
  <lastBuildDate>Wed, 08 Nov 2006 07:19:42 +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=5448</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[Handling Close button of XTPFramwWnd : I used following ways to implemeent...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5448&amp;PID=17131&amp;title=handling-close-button-of-xtpframwwnd#17131</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2451">babumohan</a><br /><strong>Subject:</strong> 5448<br /><strong>Posted:</strong> 08 November 2006 at 7:19am<br /><br />I used following ways to implemeent the above said interface <DIV>1 .CXTWndHook::WindowProc(message, wParam, lParam) to get all messages. </DIV><DIV>2. void CMyMainFrame::OnSysCommand(UINT nID, LPARAM lp)<BR>{<BR>&nbsp; if (nID==SC_CLOSE) {<BR>//&nbsp;&nbsp;&nbsp; ... // handle it<BR>&nbsp;&nbsp;&nbsp; return ;<BR>&nbsp; }<BR>&nbsp; // pass to base class: important!<BR>&nbsp; return CXTPFrameWnd::OnSysCommand(nID, lp);<BR>}</DIV>]]>
   </description>
   <pubDate>Wed, 08 Nov 2006 07:19:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5448&amp;PID=17131&amp;title=handling-close-button-of-xtpframwwnd#17131</guid>
  </item> 
  <item>
   <title><![CDATA[Handling Close button of XTPFramwWnd : I used CXTWndHook::WindowProc(message,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5448&amp;PID=17128&amp;title=handling-close-button-of-xtpframwwnd#17128</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2451">babumohan</a><br /><strong>Subject:</strong> 5448<br /><strong>Posted:</strong> 08 November 2006 at 5:52am<br /><br />I used CXTWndHook::WindowProc(message, wParam, lParam) to get all messages.<DIV>void CMyMainFrame::OnSysCommand(UINT nID, LPARAM lp)<BR>{<BR>&nbsp; if (nID==SC_CLOSE) {<BR>//&nbsp;&nbsp;&nbsp; ... // handle it<BR>&nbsp;&nbsp;&nbsp; return ;<BR>&nbsp; }<BR>&nbsp; // pass to base class: important!<BR>&nbsp; return CXTPFrameWnd::OnSysCommand(nID, lp);<BR>}</DIV>]]>
   </description>
   <pubDate>Wed, 08 Nov 2006 05:52:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5448&amp;PID=17128&amp;title=handling-close-button-of-xtpframwwnd#17128</guid>
  </item> 
  <item>
   <title><![CDATA[Handling Close button of XTPFramwWnd : Hello,  Show code you tried....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5448&amp;PID=17126&amp;title=handling-close-button-of-xtpframwwnd#17126</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5448<br /><strong>Posted:</strong> 08 November 2006 at 5:39am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Show code you tried.&nbsp; </DIV><DIV>WM_SYSCOMMAND +SC_CLOSE send if user press "X" buttton, but may be&nbsp;not if user Close using Alt+F4.&nbsp; </DIV><DIV>So also try catch standard WM_CLOSE message</DIV>]]>
   </description>
   <pubDate>Wed, 08 Nov 2006 05:39:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5448&amp;PID=17126&amp;title=handling-close-button-of-xtpframwwnd#17126</guid>
  </item> 
  <item>
   <title><![CDATA[Handling Close button of XTPFramwWnd : Hi  Good day. I would like to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5448&amp;PID=17121&amp;title=handling-close-button-of-xtpframwwnd#17121</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2451">babumohan</a><br /><strong>Subject:</strong> 5448<br /><strong>Posted:</strong> 08 November 2006 at 4:55am<br /><br /><P>Hi </P><DIV>&nbsp;Good day. I would like to use CXTWndHook.</DIV><DIV>&nbsp;I tried with the above mentioned WM_SYSCOMMAND and SC_CLOSE. It is not working properly</DIV>]]>
   </description>
   <pubDate>Wed, 08 Nov 2006 04:55:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5448&amp;PID=17121&amp;title=handling-close-button-of-xtpframwwnd#17121</guid>
  </item> 
  <item>
   <title><![CDATA[Handling Close button of XTPFramwWnd : Hi,  See in MSDN WM_SYSCOMMAND...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5448&amp;PID=17099&amp;title=handling-close-button-of-xtpframwwnd#17099</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5448<br /><strong>Posted:</strong> 07 November 2006 at 9:05am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>See in MSDN WM_SYSCOMMAND and SC_CLOSE</DIV>]]>
   </description>
   <pubDate>Tue, 07 Nov 2006 09:05:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5448&amp;PID=17099&amp;title=handling-close-button-of-xtpframwwnd#17099</guid>
  </item> 
  <item>
   <title><![CDATA[Handling Close button of XTPFramwWnd : it is not for XTPFrameWnd. it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5448&amp;PID=17090&amp;title=handling-close-button-of-xtpframwwnd#17090</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2451">babumohan</a><br /><strong>Subject:</strong> 5448<br /><strong>Posted:</strong> 07 November 2006 at 6:26am<br /><br />it is not for XTPFrameWnd.&nbsp; it is for CUEXTPDockWindow]]>
   </description>
   <pubDate>Tue, 07 Nov 2006 06:26:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5448&amp;PID=17090&amp;title=handling-close-button-of-xtpframwwnd#17090</guid>
  </item> 
  <item>
   <title><![CDATA[Handling Close button of XTPFramwWnd : How can I handle Close Button...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5448&amp;PID=17089&amp;title=handling-close-button-of-xtpframwwnd#17089</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2451">babumohan</a><br /><strong>Subject:</strong> 5448<br /><strong>Posted:</strong> 07 November 2006 at 6:04am<br /><br />How can I handle Close Button of XTPFrameWnd TitleBar]]>
   </description>
   <pubDate>Tue, 07 Nov 2006 06:04:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5448&amp;PID=17089&amp;title=handling-close-button-of-xtpframwwnd#17089</guid>
  </item> 
 </channel>
</rss>