<?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 : Error about Add CXTPToolBar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Error about Add CXTPToolBar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 03:29:20 +0000</pubDate>
  <lastBuildDate>Sun, 18 Oct 2009 21:36:29 +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=15371</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[Error about Add CXTPToolBar : Hi. Thanks   m_pToolBar is just...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15371&amp;PID=53986&amp;title=error-about-add-cxtptoolbar#53986</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5572">suchout</a><br /><strong>Subject:</strong> 15371<br /><strong>Posted:</strong> 18 October 2009 at 9:36pm<br /><br /><DIV>Hi. Thanks </DIV><DIV>&nbsp;</DIV><DIV>m_pToolBar is just instance for check&nbsp;about correctly make Toolbar</DIV><DIV>&nbsp;</DIV><DIV>and i don't do anything manually</DIV><DIV>&nbsp;</DIV><DIV>Just add new Toolbar and add buttons in there </DIV><DIV>&nbsp;</DIV><DIV>this is sample source</DIV><DIV>&nbsp;</DIV><DIV>if (!pToolBar ||<strong> !pToolBar-&gt;LoadToolBar(IDR_MAINFRAME))<BR></strong>&nbsp;{<BR>&nbsp;&nbsp;TRACE0("Failed to create toolbar\n");<BR>&nbsp;&nbsp;return -1;<BR>&nbsp;}</DIV><DIV>&nbsp;</DIV><DIV>but my source is </DIV><DIV>&nbsp;</DIV><DIV>if (!pToolBar )<BR>&nbsp;{<BR>&nbsp;&nbsp;TRACE0("Failed to create toolbar\n");<BR>&nbsp;&nbsp;return -1;<BR>&nbsp;}</DIV><DIV>&nbsp;</DIV><DIV>Not use <strong>LoadToolBar(IDR_MAINFRAME), </strong>&nbsp;but add buttons dynamically )</DIV><DIV>&nbsp;</DIV><DIV>and i'm trying for coment (/*&nbsp; */) that toolbar add code area </DIV><DIV>&nbsp;</DIV><DIV>then the exit process is no problem, but none coment -&gt; error</DIV><DIV>&nbsp;</DIV><DIV>hm....i feel heavy..&#12640;&#12640; because my explane is so~oooooooo bad....&#12640;&#12640;</DIV><DIV>&nbsp;</DIV><DIV>thank you .</DIV>]]>
   </description>
   <pubDate>Sun, 18 Oct 2009 21:36:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15371&amp;PID=53986&amp;title=error-about-add-cxtptoolbar#53986</guid>
  </item> 
  <item>
   <title><![CDATA[Error about Add CXTPToolBar : Hi,  You store m_pToolBar -...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15371&amp;PID=53920&amp;title=error-about-add-cxtptoolbar#53920</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 15371<br /><strong>Posted:</strong> 16 October 2009 at 5:34am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>You store&nbsp; m_pToolBar - why ? Do you manually destroy it or something ?</DIV>]]>
   </description>
   <pubDate>Fri, 16 Oct 2009 05:34:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15371&amp;PID=53920&amp;title=error-about-add-cxtptoolbar#53920</guid>
  </item> 
  <item>
   <title><![CDATA[Error about Add CXTPToolBar : Hello everybody!  First, I&amp;#039;d...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15371&amp;PID=53884&amp;title=error-about-add-cxtptoolbar#53884</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5572">suchout</a><br /><strong>Subject:</strong> 15371<br /><strong>Posted:</strong> 15 October 2009 at 3:38am<br /><br /><P>Hello everybody!</P><DIV><P>First, I'd like to beg your pardon that I'm quite poor in English.&nbsp;</P><DIV>I developed a MDI application which &nbsp;make new User-Interface by call DLL.</DIV><DIV>&nbsp;</DIV><DIV>when i&nbsp;made Project , a MenuBar and a ToolBar was&nbsp;basically created.</DIV><DIV>&nbsp;</DIV><DIV>and then i&nbsp;add &nbsp;new&nbsp;&nbsp;CXTPToolBar in Main Project!.</DIV><DIV>&nbsp;</DIV><DIV>like this:</DIV><DIV>&nbsp; <strong>m_pToolBar = (CXTPToolBar*)m_pCmdBars-&gt;Add(_T(""), xtpBarTop);<BR>&nbsp;&nbsp;if (!m_pToolBar ) {<BR>&nbsp;&nbsp;&nbsp;TRACE0("Failed to create toolbar\n");<BR>&nbsp;&nbsp;&nbsp;return;<BR>&nbsp;&nbsp;}&nbsp;</strong></DIV><DIV>&nbsp;</DIV><DIV>in Dll</DIV><DIV>I&nbsp; set properties and add buttons</DIV><DIV>&nbsp;</DIV><DIV>so far it&nbsp;has not problem</DIV><DIV>&nbsp;</DIV><DIV>but Cause Error in the moment of the program is exitting.</DIV><DIV>&nbsp;</DIV><DIV>show up this message:</DIV><DIV><strong>debug Assertion Failed!<BR>File:</strong></DIV><DIV><strong>c:\package\temp\eval\toolkitpro\source\commandbars\xtpdockstate.cpp </strong></DIV><DIV><strong>line : 1208</strong></DIV><DIV>&nbsp;</DIV>i am not able to solve this problem &#12640;&#12640; please help me~~<DIV>&nbsp;</DIV><DIV>thanks</DIV><DIV>&nbsp;</DIV><DIV>ps...oops~ my english is better????? .....hm....but it's <strong>only my think</strong>..^^;;&#12619;&#12619; sorry&nbsp;&#51204; &#54620;&#44397;&#51064;..&#48512;&#45124;&#47101;&#45348;&#50836;..&#12622;&#12622;^^</DIV><DIV>&nbsp;</DIV></DIV>]]>
   </description>
   <pubDate>Thu, 15 Oct 2009 03:38:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15371&amp;PID=53884&amp;title=error-about-add-cxtptoolbar#53884</guid>
  </item> 
 </channel>
</rss>