<?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 : why does my CXTPTabControl can&#039;t handle message?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : why does my CXTPTabControl can&#039;t handle message?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 09:10:35 +0000</pubDate>
  <lastBuildDate>Thu, 25 Oct 2007 04:23:36 +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=8521</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[why does my CXTPTabControl can&#039;t handle message? : right. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8521&amp;PID=27668&amp;title=why-does-my-cxtptabcontrol-cant-handle-message#27668</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8521<br /><strong>Posted:</strong> 25 October 2007 at 4:23am<br /><br />right.]]>
   </description>
   <pubDate>Thu, 25 Oct 2007 04:23:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8521&amp;PID=27668&amp;title=why-does-my-cxtptabcontrol-cant-handle-message#27668</guid>
  </item> 
  <item>
   <title><![CDATA[why does my CXTPTabControl can&#039;t handle message? : faint, I know why. at first,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8521&amp;PID=27665&amp;title=why-does-my-cxtptabcontrol-cant-handle-message#27665</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3288">iamthewind</a><br /><strong>Subject:</strong> 8521<br /><strong>Posted:</strong> 25 October 2007 at 3:34am<br /><br /><P>faint, I know why.</P><DIV>at first, I use Tab Control&nbsp; from Dialog edit.</DIV><DIV><FONT color=#0000ff>CONTROL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "",IDC_TAB1,"SysTabControl32",0x0,14,164,288,39</FONT></DIV><DIV><FONT color=#000000>and SysTabControl32 can't set </FONT><FONT color=#000000>Notify options.</FONT></DIV><DIV>&nbsp;</DIV><DIV>and now I replaced Tab Control with static control, it works.</DIV><DIV>at resource, static control descripted as :</DIV><DIV><FONT color=#0000ff>CONTROL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "",IDC_TAB1,"Static",SS_BLACKFRAME | SS_NOTIFY,17,15,279,135</FONT></DIV>]]>
   </description>
   <pubDate>Thu, 25 Oct 2007 03:34:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8521&amp;PID=27665&amp;title=why-does-my-cxtptabcontrol-cant-handle-message#27665</guid>
  </item> 
  <item>
   <title><![CDATA[why does my CXTPTabControl can&#039;t handle message? : Thanks, but I am sorry I don&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8521&amp;PID=27662&amp;title=why-does-my-cxtptabcontrol-cant-handle-message#27662</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3288">iamthewind</a><br /><strong>Subject:</strong> 8521<br /><strong>Posted:</strong> 25 October 2007 at 2:26am<br /><br /><P>Thanks, but I am sorry I don't know how to subclass IDC_TAB1,</P><DIV>I call</DIV><DIV><FONT color=#0000ff>m_wndTabControl.SubclassDlgItem(IDC_TAB1, this); </FONT></DIV><DIV>in BOOL CToolkitTestDlg::OnInitDialog()</DIV><DIV>&nbsp;</DIV><DIV>MFC will throw out a exception.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 25 Oct 2007 02:26:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8521&amp;PID=27662&amp;title=why-does-my-cxtptabcontrol-cant-handle-message#27662</guid>
  </item> 
  <item>
   <title><![CDATA[why does my CXTPTabControl can&#039;t handle message? : Hi,  Guess you subclass some...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8521&amp;PID=27657&amp;title=why-does-my-cxtptabcontrol-cant-handle-message#27657</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8521<br /><strong>Posted:</strong> 25 October 2007 at 2:00am<br /><br /><FONT color=#000000>Hi,&nbsp; <DIV>Guess you subclass some static (IDC_TAB1) to TabControl.</DIV><DIV>If so just set Notify option to true.</DIV></FONT>]]>
   </description>
   <pubDate>Thu, 25 Oct 2007 02:00:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8521&amp;PID=27657&amp;title=why-does-my-cxtptabcontrol-cant-handle-message#27657</guid>
  </item> 
  <item>
   <title><![CDATA[why does my CXTPTabControl can&#039;t handle message? : I create a simple MFC dialog application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8521&amp;PID=27656&amp;title=why-does-my-cxtptabcontrol-cant-handle-message#27656</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3288">iamthewind</a><br /><strong>Subject:</strong> 8521<br /><strong>Posted:</strong> 25 October 2007 at 1:57am<br /><br /><P>I create a simple MFC dialog application with a CXTPTabControl control, but this control can't click and handle any message, why? what should I do? Thanks!</P><DIV>the code I wrote just as below:</DIV><DIV><FONT color=#00ff00>// ToolkitTestDlg.h</FONT></DIV><DIV><FONT color=#0000cc>class CToolkitTestDlg : public CDialog<BR>{</FONT></DIV><DIV><FONT color=#0000cc>...</FONT></DIV><DIV><FONT color=#0000cc>CXTPTabControl&nbsp;m_wndTabControl;</FONT></DIV><DIV><FONT color=#0000cc>};</FONT></DIV><DIV>&nbsp;</DIV><DIV><FONT color=#00cc00>// ToolkitTestDlg.cpp</FONT></DIV><DIV><FONT color=#0000ff>void CToolkitTestDlg::DoDataExchange(CDataExchange* pDX)<BR>{<BR>&nbsp;CDialog::DoDataExchange(pDX);<BR>&nbsp;DDX_Control(pDX, IDC_TAB1, m_wndTabControl);<BR>}<BR></FONT></DIV><DIV><FONT color=#0000ff></FONT>&nbsp;</DIV><DIV><FONT color=#0000ff>BOOL CToolkitTestDlg::OnInitDialog()<BR>{</FONT></DIV><DIV><FONT color=#0000ff>....</FONT></DIV><DIV><FONT color=#0000ff>&nbsp;UpdateData();<BR>&nbsp;m_wndTabControl.GetPaintManager()-&gt;SetAppearance(xtpTabAppearanceStateButtons);<BR>&nbsp;m_wndTabControl.GetPaintManager()-&gt;m_bHotTracking = TRUE;<BR>&nbsp;m_wndTabControl.GetPaintManager()-&gt;m_bShowIcons = TRUE;<BR>&nbsp;m_wndTabControl.GetPaintManager()-&gt;m_bStaticFrame = TRUE;<BR>&nbsp;m_wndTabControl.GetPaintManager()-&gt;DisableLunaColors(FALSE);</FONT></DIV><DIV><FONT color=#0000ff>&nbsp;m_wndTabControl.InsertItem(0, _T("Recommand"));<BR>&nbsp;m_wndTabControl.InsertItem(1, _T("Top"));</FONT></DIV><DIV><FONT color=#0000ff>&nbsp;m_wndTabControl.SetCurSel(1);</FONT></DIV><DIV><FONT color=#0000ff>&nbsp;m_wndTabControl.EnableWindow(TRUE);</FONT></DIV><DIV><FONT color=#0000ff>&nbsp;return TRUE;&nbsp; // return TRUE&nbsp; unless you set the focus to a control<BR>}</FONT></DIV>]]>
   </description>
   <pubDate>Thu, 25 Oct 2007 01:57:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8521&amp;PID=27656&amp;title=why-does-my-cxtptabcontrol-cant-handle-message#27656</guid>
  </item> 
 </channel>
</rss>