<?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 CWnd:DestroyWindow()</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 CWnd:DestroyWindow()]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Apr 2026 23:32:09 +0000</pubDate>
  <lastBuildDate>Mon, 29 Mar 2004 22:54:11 +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=581</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 CWnd:DestroyWindow() : so you use m_PPBar some times?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=581&amp;PID=1489&amp;title=assert-failure-on-cwnddestroywindow#1489</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 581<br /><strong>Posted:</strong> 29 March 2004 at 10:54pm<br /><br />so you use m_PPBar some times?&nbsp; try to create it each time need to show popup.]]>
   </description>
   <pubDate>Mon, 29 Mar 2004 22:54:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=581&amp;PID=1489&amp;title=assert-failure-on-cwnddestroywindow#1489</guid>
  </item> 
  <item>
   <title><![CDATA[ASSERT Failure &#111;n CWnd:DestroyWindow() :  Hi, I&amp;#039;m having some problems...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=581&amp;PID=1486&amp;title=assert-failure-on-cwnddestroywindow#1486</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=439">GWinkler</a><br /><strong>Subject:</strong> 581<br /><strong>Posted:</strong> 29 March 2004 at 12:33pm<br /><br /><FONT color=#a000a0><P>Hi, I'm having some problems creating a pop-able command bar. The popup is correctly shown and commands execute fine. But when the window is about to be destroyed an assertion failure raises. </P><P>Function CWnd:DestroyWindow()</P><P>ASSERT</FONT>(<FONT color=#808080>m_hWnd</FONT> == <FONT color=#808080>hWndOrig</FONT>);&nbsp;&nbsp; wincore.cpp line 986</P><P>this is the snapshot of the code I'm using to create it</P><P>//CXTPPopupBar* m_PPBar<BR>m_PPBar = CXTPPopupBar::CreatePopupBar(GetCommandBars());</P><P>//popup creation<BR>CXTPControlPopup * newPopup = CXTPControlPopup::CreateControlPopup(xtpControlPopup);</P><P>&nbsp;&nbsp;&nbsp;<BR>newPopup-&gt;SetCommandBar(ptrPopup-&gt;m_PPBar);<BR>&nbsp;&nbsp;&nbsp;<BR>newPopup-&gt;SetCaption(ptrPopup-&gt;m_Name);<BR>newPopup-&gt;SetStyle(xtpButtonIconAndCaption);<BR>newPopup-&gt;SetEnabled(TRUE);<BR>newPopup-&gt;SetFlags(xtpFlagManualUpdate);<BR>&nbsp;&nbsp;&nbsp;<BR>tempCtrls-&gt;Add(newPopup,ptrPopup-&gt;m_Id,"",index);</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 29 Mar 2004 12:33:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=581&amp;PID=1486&amp;title=assert-failure-on-cwnddestroywindow#1486</guid>
  </item> 
 </channel>
</rss>