<?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 : ASSERT failure &#111;n startup</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : ASSERT failure &#111;n startup]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 14 Apr 2026 22:10:01 +0000</pubDate>
  <lastBuildDate>Fri, 14 Nov 2003 02:52:45 +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=244</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[ASSERT failure &#111;n startup : OK, it seems that some of my code...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=244&amp;PID=569&amp;title=assert-failure-on-startup#569</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=226">Matt1</a><br /><strong>Subject:</strong> 244<br /><strong>Posted:</strong> 14 November 2003 at 2:52am<br /><br /><P>OK, it seems that some of my code was causing this problem.&nbsp; I was forcing my ChildFrame windows to stay maximized by catching SIZE_MINIMIZED and SIZE_RESTORED messages in my ChildFrame's OnSize() handler, and programmatically remaximizing the window when those two messages appeared. I have no idea why this was causing the CXTPTabClientWnd code to throw&nbsp;an assertion but apparently&nbsp;it was. So I eliminated that code - it was hackish anyway.<BR><BR>I've resolved the keep-maximized problem by eliminating all the ways a user might reduce the ChildFrame windows within the application (I removed the Min/Max buttons from the windows, the CXTPTabClientWnd window, and I removed the Window menu commands.<BR><BR>The only problem I have now <EM>relates</EM>, then, to kelvincannon's post "Tabbed MDI" and is this:<BR><BR>When my ChildFrame windows are maximized (which they are by default and are meant to STAY that way)&nbsp;and I click the tabs to activate them and bring them to the front, there is a brief flicker of those windows in a non-maximized state.<BR><BR>Is there any way that I can eliminate this? I suppose I'm officially reporting a bug, unless there is something I'm doing wrong.<IMG src="http://forum.codejock.com/smileys/smiley3.gif" border="0"><BR><BR>- Matt</P>]]>
   </description>
   <pubDate>Fri, 14 Nov 2003 02:52:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=244&amp;PID=569&amp;title=assert-failure-on-startup#569</guid>
  </item> 
  <item>
   <title><![CDATA[ASSERT failure &#111;n startup : Hi, I&amp;#039;m using the CXTPTabClientWnd...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=244&amp;PID=559&amp;title=assert-failure-on-startup#559</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=226">Matt1</a><br /><strong>Subject:</strong> 244<br /><strong>Posted:</strong> 13 November 2003 at 7:55pm<br /><br /><P>Hi, I'm using the CXTPTabClientWnd class in my MainFrame to add MDI tabs.&nbsp; I'm calling:<BR><BR>&nbsp;&nbsp;&nbsp; m_MDITabWnd.Attach(this);<BR><BR>in my OnCreate() handler, and:<BR><BR>&nbsp;&nbsp;&nbsp; m_MDITabWnd.Detach();<BR><BR>in my OnDestroy() handler.&nbsp;&nbsp;It works very well, except that debug compiles ASSERT at startup and point to line 1971 in XTPTabClientWnd.cpp:<BR><BR>&nbsp;&nbsp;&nbsp; // there shouldn't be such item in the tab control<BR>&nbsp;&nbsp;&nbsp; ASSERT(m_tab.FindTabItem((HWND)lResult)==-1);<BR><BR>Any idea why this is failing and how I can fix it?&nbsp; It happens in the demos that use this class as well, btw.&nbsp; I'm using a static-mt &nbsp;build of the XTP lib and I'm statically linking to MFC.<BR><BR>Matt<BR><BR><FONT color=#0000ff>Edit:&nbsp;It's&nbsp;actually failing&nbsp;during ChildWnd creation. Any ideas?</FONT><BR>&nbsp; </P><span style="font-size:10px"><br /><br />Edited by Matt1</span>]]>
   </description>
   <pubDate>Thu, 13 Nov 2003 19:55:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=244&amp;PID=559&amp;title=assert-failure-on-startup#559</guid>
  </item> 
 </channel>
</rss>