<?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 : CXTPTabClientWnd  - How to tell if ..?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPTabClientWnd  - How to tell if ..?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 08:37:22 +0000</pubDate>
  <lastBuildDate>Wed, 17 Aug 2005 07:40: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=2726</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[CXTPTabClientWnd  - How to tell if ..? : Glad to help :) ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2726&amp;PID=8175&amp;title=cxtptabclientwnd-how-to-tell-if#8175</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2726<br /><strong>Posted:</strong> 17 August 2005 at 7:40am<br /><br />Glad to help :)]]>
   </description>
   <pubDate>Wed, 17 Aug 2005 07:40:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2726&amp;PID=8175&amp;title=cxtptabclientwnd-how-to-tell-if#8175</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd  - How to tell if ..? : Thanks again Oleg, worked like...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2726&amp;PID=8164&amp;title=cxtptabclientwnd-how-to-tell-if#8164</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1338">Hazelnut</a><br /><strong>Subject:</strong> 2726<br /><strong>Posted:</strong> 16 August 2005 at 10:46am<br /><br /><P>Thanks again Oleg, worked like a charm! <IMG src="http://forum.codejock.com/smileys/smiley1.gif" border="0"></P><FONT color=#0000ff><P>class</FONT> <FONT color=#c00000>CMyTabClientWnd</FONT> : <FONT color=#0000ff>public</FONT> <FONT color=#c00000>CXTPTabClientWnd</P></FONT><P>{</P><FONT color=#0000ff><P>public</FONT>:</P><P><FONT color=#c00000>CMyTabClientWnd</FONT>() {}</P><P><FONT color=#0000ff>virtual</FONT> ~<FONT color=#c00000>CMyTabClientWnd</FONT>() {}</P><P></P><P><FONT color=#008000>//{{AFX_VIRTUAL(CMyTabClientWnd)</P></FONT><P><FONT color=#008000>//}}AFX_VIRTUAL</P></FONT><P></P><FONT color=#0000ff><P>protected</FONT>:</P><P><FONT color=#008000>//{{AFX_MSG(CMyTabClientWnd)</P></FONT><P><FONT color=#c000c0>afx_msg</FONT> <FONT color=#c00000>LRESULT</FONT> <FONT color=#c00000>CMyTabClientWnd</FONT>::<FONT color=#c00000>OnMDIActivate</FONT>(<FONT color=#c00000>WPARAM</FONT> <FONT color=#808080>wParam</FONT>, <FONT color=#c00000>LPARAM</FONT> <FONT color=#808080>lParam</FONT>);</P><P><FONT color=#008000>//}}AFX_MSG</P></FONT><P><FONT color=#c000c0>DECLARE_MESSAGE_MAP</FONT>()</P><P>};</P><P>/// CPP...</P><FONT color=#c000c0><P>BEGIN_MESSAGE_MAP</FONT>(<FONT color=#c00000>CMyTabClientWnd</FONT>, <FONT color=#c00000>CXTPTabClientWnd</FONT>)</P><P><FONT color=#008000>//{{AFX_MSG_MAP(CMyTabClientWnd)</P></FONT><P><FONT color=#c000c0>ON_MESSAGE</FONT>(<FONT color=#c000c0>WM_MDIACTIVATE</FONT>, <FONT color=#808080>OnMDIActivate</FONT>)</P><P><FONT color=#008000>//}}AFX_MSG_MAP</P></FONT><P><FONT color=#c000c0>END_MESSAGE_MAP</FONT>()</P><FONT color=#c00000><P>LRESULT</FONT> <FONT color=#c00000>CMyTabClientWnd</FONT>::<FONT color=#c00000>OnMDIActivate</FONT>(<FONT color=#c00000>WPARAM</FONT> <FONT color=#808080>wParam</FONT>, <FONT color=#c00000>LPARAM</FONT> <FONT color=#808080>lParam</FONT>)</P><P>{</P><P></P><P><FONT color=#c000c0>&nbsp;&nbsp; TRACE</FONT>("Tab Activated\n");</P><P><FONT color=#0000ff>&nbsp;&nbsp; return</FONT> <FONT color=#c00000>CXTPTabClientWnd</FONT>::<FONT color=#c00000>OnMDIActivate</FONT>(<FONT color=#808080>wParam</FONT>, <FONT color=#808080>lParam</FONT>);</P><P>}</P><span style="font-size:10px"><br /><br />Edited by Hazelnut</span>]]>
   </description>
   <pubDate>Tue, 16 Aug 2005 10:46:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2726&amp;PID=8164&amp;title=cxtptabclientwnd-how-to-tell-if#8164</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd  - How to tell if ..? : I think you don&amp;#039;t need &amp;#034;tab...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2726&amp;PID=8147&amp;title=cxtptabclientwnd-how-to-tell-if#8147</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2726<br /><strong>Posted:</strong> 16 August 2005 at 2:36am<br /><br /><P>I think you don't need "tab selected" event because user can press Ctrl+Tab to change active MDI instead of using mouse.</P><P>&nbsp;</P><P>You need WM_MDIACTIVATE event:</P><P>1. Override CXTPTabClientWnd, add message map</P><P>2. add ON_MESSAGE(WM_MDIACTIVATE, OnMDIActivate)</P><P>3.</P><P>LRESULT CMyTabClientWnd::OnMDIActivate(WPARAM wParam, LPARAM lParam)</P><P>{&nbsp; </P><P>&nbsp; // do&nbsp; stuff.</P><P>&nbsp; return CXTPTabClientWnd::OnMDIActivate(wParam, lParam);</P><P>}</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 16 Aug 2005 02:36:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2726&amp;PID=8147&amp;title=cxtptabclientwnd-how-to-tell-if#8147</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd  - How to tell if ..? : Hi All, How can you tell when...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2726&amp;PID=8139&amp;title=cxtptabclientwnd-how-to-tell-if#8139</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1338">Hazelnut</a><br /><strong>Subject:</strong> 2726<br /><strong>Posted:</strong> 15 August 2005 at 6:15pm<br /><br /><P>Hi All,</P><P>How can you tell when a tab on a <FONT color=#c00000>CXTPTabClientWnd <FONT color=#000000>has been selected? In other words, I need to find the active&nbsp;frame based on which tab is selected WHEN the tab is changed but NOT when I manually check for it.&nbsp; I guess I want to know if there is a way to get notified when a tab is selected. The only message I see from the control is <FONT color=#808080>WM_XTP_PRETRANSLATEMOUSEMSG <FONT color=#000000>but that doesn't notify me if a tab is changed. <IMG src="http://forum.codejock.com/smileys/smiley19.gif" border="0"></FONT></FONT></FONT></FONT></P><P><FONT color=#c00000><FONT color=#000000><FONT color=#808080><FONT color=#000000>Thanks!</FONT></P></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Mon, 15 Aug 2005 18:15:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2726&amp;PID=8139&amp;title=cxtptabclientwnd-how-to-tell-if#8139</guid>
  </item> 
 </channel>
</rss>