<?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 : commandbars compile error</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : commandbars compile error]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 21:29:33 +0000</pubDate>
  <lastBuildDate>Wed, 13 Feb 2008 01:16:02 +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=9135</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[commandbars compile error : Once I removed those everything...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=31136&amp;title=commandbars-compile-error#31136</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3588">player98198</a><br /><strong>Subject:</strong> 9135<br /><strong>Posted:</strong> 13 February 2008 at 1:16am<br /><br />Once I removed those everything started to work! Only thing now is how would I put the values that IDI_STATUSBAR_NUMFILES and IDI_STATUSBAR_INFO1&nbsp; used to hold before I started using command bars?]]>
   </description>
   <pubDate>Wed, 13 Feb 2008 01:16:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=31136&amp;title=commandbars-compile-error#31136</guid>
  </item> 
  <item>
   <title><![CDATA[commandbars compile error : Thanks for the reply, yeah there...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=31134&amp;title=commandbars-compile-error#31134</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3588">player98198</a><br /><strong>Subject:</strong> 9135<br /><strong>Posted:</strong> 13 February 2008 at 1:13am<br /><br />Thanks for the reply, yeah there in the resource file.<br><br>#define IDI_STATUSBAR_NUMFILES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4564<br>#define IDI_STATUSBAR_INFO1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 103<br>]]>
   </description>
   <pubDate>Wed, 13 Feb 2008 01:13:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=31134&amp;title=commandbars-compile-error#31134</guid>
  </item> 
  <item>
   <title><![CDATA[commandbars compile error : In your resource file do you have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=31133&amp;title=commandbars-compile-error#31133</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9135<br /><strong>Posted:</strong> 13 February 2008 at 1:11am<br /><br />In your resource file do you have strings for IDI_STATUSBAR_INFO1/IDI_STATUSBAR_NUMFILES ?]]>
   </description>
   <pubDate>Wed, 13 Feb 2008 01:11:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=31133&amp;title=commandbars-compile-error#31133</guid>
  </item> 
  <item>
   <title><![CDATA[commandbars compile error : Hi,I don&amp;#039;t quite understand,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=31132&amp;title=commandbars-compile-error#31132</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3588">player98198</a><br /><strong>Subject:</strong> 9135<br /><strong>Posted:</strong> 13 February 2008 at 12:52am<br /><br />Hi,<br><br>I don't quite understand, I have this after MESSAGE_MAP routine<br><br>static UINT indicators&#091;&#093; =<br>{<br>&nbsp;&nbsp;&nbsp; ID_SEPARATOR,<br>&nbsp;&nbsp;&nbsp; IDI_STATUSBAR_INFO1,<br>&nbsp;&nbsp;&nbsp; IDI_STATUSBAR_NUMFILES,<br><br>};<br><br>then in OnInit I have <br><br>&nbsp;&nbsp;&nbsp; if (!m_wndStatusBar.Create(this) || !m_wndStatusBar.SetIndicators(indicators,sizeof(indicators)/sizeof(UINT)))<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TRACE0("Failed to create status bar\n");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return -1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // fail to create<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; m_wndStatusBar.SetPaneInfo(0, IDI_STATUSBAR_INFO1, SBPS_STRETCH, 100);<br>&nbsp;&nbsp;&nbsp; m_bInitDone = TRUE;<br>&nbsp;&nbsp;&nbsp; RepositionControls();<br><br>&nbsp;&nbsp;&nbsp; m_szMin = m_szWindow;<br><br>But the program loads but crashe's right away.<br>]]>
   </description>
   <pubDate>Wed, 13 Feb 2008 00:52:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=31132&amp;title=commandbars-compile-error#31132</guid>
  </item> 
  <item>
   <title><![CDATA[commandbars compile error : Problem in your line m_wndStat...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=29893&amp;title=commandbars-compile-error#29893</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9135<br /><strong>Posted:</strong> 05 January 2008 at 2:58pm<br /><br /><P>Problem in your line m_wndStatusBar.SetIndicators(indicators, ..);</P><DIV>you don't have string resources for ids in indicators array.</DIV>]]>
   </description>
   <pubDate>Sat, 05 Jan 2008 14:58:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=29893&amp;title=commandbars-compile-error#29893</guid>
  </item> 
  <item>
   <title><![CDATA[commandbars compile error :  I am using  // Creating Menus...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=29889&amp;title=commandbars-compile-error#29889</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3588">player98198</a><br /><strong>Subject:</strong> 9135<br /><strong>Posted:</strong> 05 January 2008 at 5:42am<br /><br />I am using <br>&nbsp;&nbsp;&nbsp; // Creating Menus using (Codejock Command Bars)<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; if (!m_wndStatusBar.Create(this) ||<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; !m_wndStatusBar.SetIndicators(indicators,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sizeof(indicators)/sizeof(UINT)))<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TRACE0("Failed to create status bar\n");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return -1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // fail to create<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp; m_wndStatusBar.SetPaneInfo(1, IDI_STATUSBAR_INFO1, SBPS_STRETCH, 100);<br>&nbsp;&nbsp;&nbsp; VERIFY(InitCommandBars());<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPCommandBars* pCommandBars = GetCommandBars();<br>&nbsp;&nbsp;&nbsp; if(pCommandBars == NULL)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TRACE0("Failed to create command bars object.\n");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return -1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // fail to create<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; CXTPMenuBar* pMenuBar = pCommandBars-&gt;SetMenu(_T("Menu Bar"), IDR_MENU);<br>&nbsp;&nbsp;&nbsp; if(pMenuBar == NULL)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TRACE0("Failed to create menu bar.\n");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return -1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // fail to create<br>&nbsp;&nbsp;&nbsp; }<br><br>in the Oninit, but I keep getting a "Failed to create status bar" during debug. How would I fix this?<br><br>Also the menu is not showing either, is there something I am missing? <br>]]>
   </description>
   <pubDate>Sat, 05 Jan 2008 05:42:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=29889&amp;title=commandbars-compile-error#29889</guid>
  </item> 
  <item>
   <title><![CDATA[commandbars compile error : Hi, Think you don&amp;#039;t have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=29777&amp;title=commandbars-compile-error#29777</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9135<br /><strong>Posted:</strong> 27 December 2007 at 8:31am<br /><br />Hi,<DIV>Think you don't have text resource for indicators.</DIV>]]>
   </description>
   <pubDate>Thu, 27 Dec 2007 08:31:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=29777&amp;title=commandbars-compile-error#29777</guid>
  </item> 
  <item>
   <title><![CDATA[commandbars compile error : I have derived the class and now...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=29776&amp;title=commandbars-compile-error#29776</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3588">player98198</a><br /><strong>Subject:</strong> 9135<br /><strong>Posted:</strong> 27 December 2007 at 5:02am<br /><br />I have derived the class and now when compiling (debug) the menu and status bar do not appear.<br><br><br>&nbsp;&nbsp;&nbsp; if (!m_wndStatusBar.Create(this) ||<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; !m_wndStatusBar.SetIndicators(indicators,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sizeof(indicators)/sizeof(UINT)))<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TRACE0("Failed to create status bar\n");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return -1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // fail to create<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; m_wndStatusBar.SetPaneInfo(0, IDI_STATUSBAR_INFO1, SBPS_STRETCH, 100);<br><br>Happens during that portion of the code. I have my app setup as identical as I can get it with the sample.<br>Failed to create status bar<br> ]]>
   </description>
   <pubDate>Thu, 27 Dec 2007 05:02:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=29776&amp;title=commandbars-compile-error#29776</guid>
  </item> 
  <item>
   <title><![CDATA[commandbars compile error : Is it possible to do what ?  you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=29588&amp;title=commandbars-compile-error#29588</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9135<br /><strong>Posted:</strong> 19 December 2007 at 10:57am<br /><br />Is it possible to do what ?<DIV>&nbsp;</DIV><DIV>you need override from CXTPDialog to use these methods.</DIV>]]>
   </description>
   <pubDate>Wed, 19 Dec 2007 10:57:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=29588&amp;title=commandbars-compile-error#29588</guid>
  </item> 
  <item>
   <title><![CDATA[commandbars compile error : Is it still possible to do that?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=29566&amp;title=commandbars-compile-error#29566</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3588">player98198</a><br /><strong>Subject:</strong> 9135<br /><strong>Posted:</strong> 18 December 2007 at 11:02pm<br /><br />Is it still possible to do that? And how would I? Thanks]]>
   </description>
   <pubDate>Tue, 18 Dec 2007 23:02:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9135&amp;PID=29566&amp;title=commandbars-compile-error#29566</guid>
  </item> 
 </channel>
</rss>