<?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 : Multiple Documents Tabs</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Multiple Documents Tabs]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 10:12:04 +0000</pubDate>
  <lastBuildDate>Sat, 30 Aug 2008 08:21:32 +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=11938</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[Multiple Documents Tabs : Hello,  I tried to find for switching...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11938&amp;PID=40616&amp;title=multiple-documents-tabs#40616</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4248">vijaymahajan</a><br /><strong>Subject:</strong> 11938<br /><strong>Posted:</strong> 30 August 2008 at 8:21am<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 ba<img src="https://forum.codejock.com/smileys/smiley19.gif" border="0"><img src="https://forum.codejock.com/smileys/smiley19.gif" border="0">ck 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>Sat, 30 Aug 2008 08:21:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11938&amp;PID=40616&amp;title=multiple-documents-tabs#40616</guid>
  </item> 
  <item>
   <title><![CDATA[Multiple Documents Tabs : Hi, you can try use this method: virtual...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11938&amp;PID=40308&amp;title=multiple-documents-tabs#40308</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11938<br /><strong>Posted:</strong> 23 August 2008 at 1:27pm<br /><br /><DIV>Hi,</DIV><DIV>you can try use this method:</DIV><DIV><strong>virtual</strong> <B>void</B> <B>OnActivateView(</B> <B>BOOL</B> <I>bActivate</I><B>,</B> <B>CView*</B> <I>pActivateView</I><B>,</B> <B>CView*</B> <I>pDeactiveView</I> <B>);</B></DIV>]]>
   </description>
   <pubDate>Sat, 23 Aug 2008 13:27:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11938&amp;PID=40308&amp;title=multiple-documents-tabs#40308</guid>
  </item> 
  <item>
   <title><![CDATA[Multiple Documents Tabs : Hello, I am implementing the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11938&amp;PID=40297&amp;title=multiple-documents-tabs#40297</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4248">vijaymahajan</a><br /><strong>Subject:</strong> 11938<br /><strong>Posted:</strong> 23 August 2008 at 2:13am<br /><br />Hello,<DIV>I am implementing the extreame toolkit library in my multiple document MFC application. </DIV><DIV>&nbsp;</DIV><DIV>i have added the ribbon bar also in my application.</DIV><DIV>Whenever i open multiple documents,tabs are appearing below the ribbon.We can&nbsp; switch between the documents with the help of this tab.</DIV><DIV>&nbsp;</DIV><DIV>Is it possible,to trace Which tab is clicked? Means,is there any event handler for these tabs?</DIV><DIV>&nbsp;</DIV><DIV>My requirement is,whenever user switch the document,he should save it.So i have to tell him to save before he switch from one tab to another.</DIV><DIV>&nbsp;</DIV><DIV>Is it possible? Please guide me about the possible solution.</DIV><DIV>&nbsp;</DIV><DIV>Thanks And Regards,</DIV><DIV>Vijay.</DIV>]]>
   </description>
   <pubDate>Sat, 23 Aug 2008 02:13:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11938&amp;PID=40297&amp;title=multiple-documents-tabs#40297</guid>
  </item> 
 </channel>
</rss>