<?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 : Helppppp.........Multiple document tabs</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Helppppp.........Multiple document tabs]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 10:11:24 +0000</pubDate>
  <lastBuildDate>Wed, 10 Sep 2008 00:01:06 +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=12108</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[Helppppp.........Multiple document tabs : Hello,  Thanks.It really worked.  sorry...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12108&amp;PID=40867&amp;title=helppppp--multiple-document-tabs#40867</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4248">vijaymahajan</a><br /><strong>Subject:</strong> 12108<br /><strong>Posted:</strong> 10 September 2008 at 12:01am<br /><br />Hello, <DIV>Thanks.It really worked.</DIV><DIV>&nbsp;</DIV><DIV>sorry oleg,one more question. If the user goes for saving the document,i will open the savefiledialog. If he do not enter any path,and directly press the cancle button,it means he do not want to save.</DIV><DIV>Then in that case i will have to open the previous document again.</DIV><DIV>Can i do that?Is it possible? What can be the possible solution for that?</DIV><DIV>&nbsp;</DIV><DIV>Because in this case,he has already clicked on the new childwnd tab. so new child window will get activated internally. then even if he clicks cancle button in savefiledialog,we wont be able to show the previous view. is there any method which can detect the last active tabclient? If not,Can we&nbsp;prevent the OnMdiActivate event to get fired in that case?</DIV><DIV>Can u put some light on this issue also?</DIV><DIV>&nbsp;</DIV><DIV>Thanks again for your earlier reply. It really helped me a lot.</DIV><DIV>&nbsp;</DIV><DIV>Thanks And Regards,</DIV><DIV>Vijay.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 10 Sep 2008 00:01:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12108&amp;PID=40867&amp;title=helppppp--multiple-document-tabs#40867</guid>
  </item> 
  <item>
   <title><![CDATA[Helppppp.........Multiple document tabs : Hi, TabClient sends WM_MDIACTIVATE...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12108&amp;PID=40863&amp;title=helppppp--multiple-document-tabs#40863</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12108<br /><strong>Posted:</strong> 09 September 2008 at 2:58pm<br /><br />Hi,<DIV>TabClient sends WM_MDIACTIVATE only if MDI child changed.</DIV>]]>
   </description>
   <pubDate>Tue, 09 Sep 2008 14:58:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12108&amp;PID=40863&amp;title=helppppp--multiple-document-tabs#40863</guid>
  </item> 
  <item>
   <title><![CDATA[Helppppp.........Multiple document tabs : Hi Oleg, Thanks for replying...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12108&amp;PID=40843&amp;title=helppppp--multiple-document-tabs#40843</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4248">vijaymahajan</a><br /><strong>Subject:</strong> 12108<br /><strong>Posted:</strong> 09 September 2008 at 6:27am<br /><br />Hi Oleg,<DIV>Thanks for replying immediatly.</DIV><DIV>Dont you think,here also we will have to face the same problem?</DIV><DIV>My problem is to save the deactivating document.</DIV><DIV>Cant we trace the alt+tab by any other means?</DIV><DIV>&nbsp;</DIV><DIV>Thanks And reagards,</DIV><DIV>Vijay.</DIV>]]>
   </description>
   <pubDate>Tue, 09 Sep 2008 06:27:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12108&amp;PID=40843&amp;title=helppppp--multiple-document-tabs#40843</guid>
  </item> 
  <item>
   <title><![CDATA[Helppppp.........Multiple document tabs : Hi,  another option is to catch...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12108&amp;PID=40836&amp;title=helppppp--multiple-document-tabs#40836</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12108<br /><strong>Posted:</strong> 09 September 2008 at 5:26am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>another option is to catch </DIV><DIV>&nbsp;</DIV><DIV>ON_WM_MDIACTIVATE()<BR></DIV><DIV>in CMDIChildWnd derived class. don't forget to call base method.</DIV>]]>
   </description>
   <pubDate>Tue, 09 Sep 2008 05:26:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12108&amp;PID=40836&amp;title=helppppp--multiple-document-tabs#40836</guid>
  </item> 
  <item>
   <title><![CDATA[Helppppp.........Multiple document tabs : Hello,  I tried to find for switching...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12108&amp;PID=40824&amp;title=helppppp--multiple-document-tabs#40824</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4248">vijaymahajan</a><br /><strong>Subject:</strong> 12108<br /><strong>Posted:</strong> 08 September 2008 at 11:31pm<br /><br />Hello, <DIV>I tried to find for switching the child tabs in OnActivateView event,But unfortunately i couldnt found the exact case.</DIV><DIV>&nbsp;</DIV><DIV>see,Herewith i am giving the text file in which the two cases i have given.</DIV><DIV>&nbsp;</DIV><DIV>1)The first case works exactly for switching the tabs,But when user do alt+tab to switch to some another application,it fails.</DIV><DIV>In&nbsp;first case i get the bool variable bModified as TRUE.</DIV><DIV>so it works proper for switching the child view.But dont know why it fails while doing alt+tab for switching between applications.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>2)The second case works when user do the alt+tab,But it fails when he switches between the child tabs.</DIV><DIV>in this case i get the bool variable FALSE.</DIV><DIV>&nbsp;</DIV><DIV><a href="https://forum.codejock.com/uploads/20080830_082102_New_Text_Docume.zip" target="_blank">uploads/20080830_082102_New_Text_Docume.zip</A></DIV><DIV>&nbsp;</DIV><DIV>I know,this is pure MFC,and this kind of querry shouldnt be asked on this forum.But i am really screwed at this point.and couldnt find the way.</DIV><DIV>&nbsp;</DIV><DIV>My application is multiple document application&nbsp; and&nbsp;only one&nbsp;view for each document. And My requirement is,whenever user switch the document,he should save the previous document.</DIV><DIV>If we handle it in OnActivateView,we will have to check bActivate variable is false and then save the document.This it is doing,But it gets that variable false in alt + tab condition also.So whenever user does alt+tab it asks to save the document when we come back to our application.</DIV><DIV>How can i avoid this?</DIV><DIV>Please guide me,what exactly shall i do to catch the childview tabs click event? Or Please guide to avoid the alt+tab problem. Because even if we get the tab clk event,i think we wont be able to get the previous document that time.This i am not sure,just guessing.</DIV><DIV>Please tell,what can be the possible solution for this problem.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Thanks And Regards,</DIV><DIV>Vijay.</DIV>]]>
   </description>
   <pubDate>Mon, 08 Sep 2008 23:31:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12108&amp;PID=40824&amp;title=helppppp--multiple-document-tabs#40824</guid>
  </item> 
 </channel>
</rss>