<?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 : CXTTabCtel</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTTabCtel]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 01:33:29 +0000</pubDate>
  <lastBuildDate>Thu, 29 Nov 2007 01:23:14 +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=8947</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[CXTTabCtel : Thank you, Oleg,   Instead using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8947&amp;PID=28987&amp;title=cxttabctel#28987</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3530">deflect</a><br /><strong>Subject:</strong> 8947<br /><strong>Posted:</strong> 29 November 2007 at 1:23am<br /><br /><DIV></DIV>Thank you, Oleg, <DIV>&nbsp;</DIV><DIV>Instead using CFormView::OnMouseActivate(...), I type the code like</DIV><DIV>"CWnd::OnMouseActivate(...)", then debug assertion failed message box does not poped up :)</DIV><DIV>&nbsp;</DIV><DIV>but still I don't know correct reason of that...</DIV><DIV>&nbsp;</DIV><DIV>emmm...anyway, thank you again. </DIV>]]>
   </description>
   <pubDate>Thu, 29 Nov 2007 01:23:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8947&amp;PID=28987&amp;title=cxttabctel#28987</guid>
  </item> 
  <item>
   <title><![CDATA[CXTTabCtel : Hi,  In our sample we catch...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8947&amp;PID=28983&amp;title=cxttabctel#28983</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8947<br /><strong>Posted:</strong> 29 November 2007 at 1:01am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>In our sample we catch WM_MOUSEACTIVATE and don't call base maethod:</DIV><DIV>&nbsp;</DIV><DIV>...</DIV><DIV>&nbsp;ON_WM_MOUSEACTIVATE()<BR>...</DIV><DIV>&nbsp;</DIV><DIV>int CTabbedViewView::OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message)<BR>{<BR>&nbsp;return CWnd::OnMouseActivate(pDesktopWnd, nHitTest, message);<BR>}<BR></DIV>]]>
   </description>
   <pubDate>Thu, 29 Nov 2007 01:01:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8947&amp;PID=28983&amp;title=cxttabctel#28983</guid>
  </item> 
  <item>
   <title><![CDATA[CXTTabCtel :  Hi~,  My dialog have CXTTabCtrl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8947&amp;PID=28982&amp;title=cxttabctel#28982</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3530">deflect</a><br /><strong>Subject:</strong> 8947<br /><strong>Posted:</strong> 28 November 2007 at 11:41pm<br /><br /><DIV>&nbsp;</DIV><DIV>Hi~,</DIV><DIV>&nbsp;</DIV><DIV>My dialog have CXTTabCtrl in it, and three formview attatched to that</DIV><DIV>CXTTabCtrl. (Formviews have several controls like checkbox, etc...)</DIV><DIV>&nbsp;</DIV><DIV>I think it's&nbsp;very simple code...but it has problem with TabCtrl.</DIV><DIV>&nbsp;</DIV><DIV>Active the dialog, it displayed with no problem, but when I click a formview</DIV><DIV>in&nbsp;tabctrl, "debug assertion failed" has occured...omg...</DIV><DIV>&nbsp;</DIV><DIV>How can I get rid of that debug assertion failed message?</DIV><DIV>&nbsp;</DIV><DIV>Ofcourse,&nbsp;in release mode, debug assertion failed message do</DIV><DIV>not poped up but still have problem with themes.</DIV><DIV>&nbsp;</DIV><DIV>Debug break activate&nbsp;below line...</DIV><DIV>&nbsp;</DIV><DIV>int CView::OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message)<BR>{<BR>&nbsp;int nResult = CWnd::OnMouseActivate(pDesktopWnd, nHitTest, message);<BR>&nbsp;if (nResult == MA_NOACTIVATE || nResult == MA_NOACTIVATEANDEAT)<BR>&nbsp;&nbsp;return nResult;&nbsp;&nbsp; // frame does not want to activate</DIV><DIV>&nbsp;CFrameWnd* pParentFrame = GetParentFrame();<BR>&nbsp;if (pParentFrame != NULL)<BR>&nbsp;{<BR>&nbsp;&nbsp;// eat it if this will cause activation</DIV><DIV>&nbsp;</DIV><DIV>&nbsp; //this line!!!!<BR>&nbsp;&nbsp;ASSERT(pParentFrame == pDesktopWnd || pDesktopWnd-&gt;IsChild(pParentFrame));</DIV><DIV>&nbsp;&nbsp;// either re-activate the current view, or set this view to be active<BR>&nbsp;&nbsp;CView* pView = pParentFrame-&gt;GetActiveView();<BR></DIV><DIV>&nbsp; ....</DIV><DIV>&nbsp; ...<BR>}</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>void CFrameWnd::SetActiveView(CView* pViewNew, BOOL bNotify)<BR>{<BR>#ifdef _DEBUG<BR>&nbsp;if (pViewNew != NULL)<BR>&nbsp;{<BR>&nbsp;&nbsp;ASSERT(IsChild(pViewNew));<BR>&nbsp;&nbsp;ASSERT_KINDOF(CView, pViewNew);&nbsp; &lt;- this line!!!<BR>&nbsp;}</DIV><DIV>&nbsp;</DIV><DIV>....</DIV><DIV>....</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>What problem do I have?</DIV><DIV>&nbsp;</DIV><DIV>thank you.</DIV>]]>
   </description>
   <pubDate>Wed, 28 Nov 2007 23:41:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8947&amp;PID=28982&amp;title=cxttabctel#28982</guid>
  </item> 
 </channel>
</rss>