<?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 : WM_QUERYSESSION among others</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : WM_QUERYSESSION among others]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 06:44:57 +0000</pubDate>
  <lastBuildDate>Wed, 20 Sep 2006 19:34:21 +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=5112</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[WM_QUERYSESSION among others : I triedthis on theWTLSample --...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5112&amp;PID=15947&amp;title=wm-querysession-among-others#15947</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2254">cj_user</a><br /><strong>Subject:</strong> 5112<br /><strong>Posted:</strong> 20 September 2006 at 7:34pm<br /><br />I tried&nbsp;this on the&nbsp;WTLSample -- as I was experiencing this on the real project I&nbsp;am working on.<DIV>&nbsp;</DIV><DIV>1. On MainFrame &amp; Child -- added MESSAGE_HANDLER for WM_CLOSE &amp; WM_QUERYENDSESSION.</DIV><DIV>2. From MainFrame OnClose, send a WM_QUERYENDSESSION to self (SendMessage)</DIV><DIV>3. On MainFrame OnQueryEndSession method -- called&nbsp;MDIGetActive --&nbsp;send WM_QUERYENDSESSION to child</DIV><DIV>&nbsp;</DIV><DIV>Result:</DIV><DIV>Case 1: Without CodeJock toolbars</DIV><DIV>Message routed as:&nbsp;MF OnClose-&gt;MF OnQueryEndSession-&gt; Child OnQueryEndSession</DIV><DIV>&nbsp;</DIV><DIV>Case 2: With CJ Toolbars</DIV><DIV>Only MF OnClose gets called</DIV><DIV>&nbsp;</DIV><DIV>Ummm why?</DIV><DIV>&nbsp;</DIV><DIV>Also- I received a lot of complaints that once we injected the CodeJock toolbars -- it eats up all the messages/events.&nbsp; Some MDI windows that normally work would freeze.&nbsp; Any idea about this?&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>I wish I could give&nbsp; more details on this but Im trying to figure&nbsp;out the WHY myself and it is hard because I only have a DLL.&nbsp; <img src="http://forum.codejock.com/smileys/smiley19.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>For the events&nbsp;I am only capturing 5 events:&nbsp; 1, 2, 3, 5 &amp; 6</DIV>]]>
   </description>
   <pubDate>Wed, 20 Sep 2006 19:34:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5112&amp;PID=15947&amp;title=wm-querysession-among-others#15947</guid>
  </item> 
 </channel>
</rss>