<?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 : Create New Tab Without Activating It</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Create New Tab Without Activating It]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 05:04:58 +0000</pubDate>
  <lastBuildDate>Tue, 18 Jul 2006 17:15:50 +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=4610</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[Create New Tab Without Activating It : Very cool! Thank you! ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4610&amp;PID=14220&amp;title=create-new-tab-without-activating-it#14220</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2176">chimera</a><br /><strong>Subject:</strong> 4610<br /><strong>Posted:</strong> 18 July 2006 at 5:15pm<br /><br />Very cool! Thank you!]]>
   </description>
   <pubDate>Tue, 18 Jul 2006 17:15:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4610&amp;PID=14220&amp;title=create-new-tab-without-activating-it#14220</guid>
  </item> 
  <item>
   <title><![CDATA[Create New Tab Without Activating It : Hi,  Here sample  void CChildFrame::ActivateFrame(int...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4610&amp;PID=14219&amp;title=create-new-tab-without-activating-it#14219</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4610<br /><strong>Posted:</strong> 18 July 2006 at 4:46pm<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Here sample</DIV><DIV>&nbsp;</DIV><DIV>void CChildFrame::ActivateFrame(int nCmdShow) <BR>{<BR>&nbsp;if (!m_bActivate) <BR>&nbsp;{<BR>&nbsp;&nbsp;nCmdShow = SW_SHOWNOACTIVATE;<BR>&nbsp;&nbsp;m_bActivate = TRUE;<BR>&nbsp;}<BR>&nbsp;&nbsp;<BR>&nbsp;CMDIChildWnd::ActivateFrame(nCmdShow);<BR>}<BR></DIV>]]>
   </description>
   <pubDate>Tue, 18 Jul 2006 16:46:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4610&amp;PID=14219&amp;title=create-new-tab-without-activating-it#14219</guid>
  </item> 
  <item>
   <title><![CDATA[Create New Tab Without Activating It : I&amp;#039;m using CXTPTabClientWndin...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4610&amp;PID=14218&amp;title=create-new-tab-without-activating-it#14218</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2176">chimera</a><br /><strong>Subject:</strong> 4610<br /><strong>Posted:</strong> 18 July 2006 at 4:32pm<br /><br />I'm using CXTPTabClientWnd&nbsp;in a CXTPMDIFrameWnd derived class. <DIV>&nbsp;</DIV><DIV>I would like to create a new tab, without activing it as the active view. Similar to FireFox (when you right click a link and select "Open Link in New Tab").</DIV><DIV>&nbsp;</DIV><DIV>Right now I do this:</DIV><DIV>&nbsp;</DIV><DIV><table width="99%"><tr><td><pre class="BBcode">void CMyMainFrame::OnFileNewTab() <BR>{<BR>&nbsp;CDocument * pDoc = theApp.m_pDocTemplate-&gt;OpenDocumentFile( NULL );<BR>&nbsp;if( pDoc )<BR>&nbsp;{<BR>&nbsp;&nbsp;POSITION pos = pDoc-&gt;GetFirstViewPosition();<BR>&nbsp;&nbsp;if( pos != NULL )<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;CMyMainView * pView = (CMyMainView *)(pDoc-&gt;GetNextView(pos));<BR>&nbsp;&nbsp;&nbsp;if( pView )<BR>&nbsp;&nbsp;&nbsp;{</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;pView-&gt;GetDocument()-&gt;m_strTitle = NEW_DOCUMENT_TITLE;</DIV><DIV>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;}&nbsp;&nbsp; <BR>&nbsp;}<BR>}</pre></td></tr></table></DIV><DIV>&nbsp;</DIV><DIV>However that doesn't work, it just opens a new tab and sets it active as the current view. I just want to open it and NOT set it active as current view.</DIV><DIV>&nbsp;</DIV><DIV>Any ideas for how I can do this?</DIV>]]>
   </description>
   <pubDate>Tue, 18 Jul 2006 16:32:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4610&amp;PID=14218&amp;title=create-new-tab-without-activating-it#14218</guid>
  </item> 
 </channel>
</rss>