<?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 : Bug or command bar go crazy?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Bug or command bar go crazy?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 09:00:04 +0000</pubDate>
  <lastBuildDate>Fri, 20 May 2005 18:25:41 +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=2252</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[Bug or command bar go crazy? : I work around the problem by comment...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2252&amp;PID=6713&amp;title=bug-or-command-bar-go-crazy#6713</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1156">mikexyz</a><br /><strong>Subject:</strong> 2252<br /><strong>Posted:</strong> 20 May 2005 at 6:25pm<br /><br />I work around the problem by comment out this:<br><br>LoadCommandBars(_T("CommandBars")); &lt;---------- CAUSE BADINFORMATION LOAD UP<br><br>Mike<br>]]>
   </description>
   <pubDate>Fri, 20 May 2005 18:25:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2252&amp;PID=6713&amp;title=bug-or-command-bar-go-crazy#6713</guid>
  </item> 
  <item>
   <title><![CDATA[Bug or command bar go crazy? : So the problem is gone now? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2252&amp;PID=6697&amp;title=bug-or-command-bar-go-crazy#6697</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2252<br /><strong>Posted:</strong> 20 May 2005 at 7:55am<br /><br />So the problem is gone now?]]>
   </description>
   <pubDate>Fri, 20 May 2005 07:55:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2252&amp;PID=6697&amp;title=bug-or-command-bar-go-crazy#6697</guid>
  </item> 
  <item>
   <title><![CDATA[Bug or command bar go crazy? : Oleg,  It is appear that information...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2252&amp;PID=6686&amp;title=bug-or-command-bar-go-crazy#6686</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1156">mikexyz</a><br /><strong>Subject:</strong> 2252<br /><strong>Posted:</strong> 19 May 2005 at 10:14am<br /><br />Oleg,<br><br>It is appear that information storage in the registry is not properly. This took several hours to track down this bugs.<br><br>Mike<br>]]>
   </description>
   <pubDate>Thu, 19 May 2005 10:14:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2252&amp;PID=6686&amp;title=bug-or-command-bar-go-crazy#6686</guid>
  </item> 
  <item>
   <title><![CDATA[Bug or command bar go crazy? : It is strange. Try to comment...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2252&amp;PID=6676&amp;title=bug-or-command-bar-go-crazy#6676</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2252<br /><strong>Posted:</strong> 19 May 2005 at 5:38am<br /><br /><P>It is strange. Try to comment LoadCommandBars,&nbsp; run it and uncomment, may be it loads old state from registry.</P>]]>
   </description>
   <pubDate>Thu, 19 May 2005 05:38:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2252&amp;PID=6676&amp;title=bug-or-command-bar-go-crazy#6676</guid>
  </item> 
  <item>
   <title><![CDATA[Bug or command bar go crazy? :  Hello:  I encounter this crazy...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2252&amp;PID=6671&amp;title=bug-or-command-bar-go-crazy#6671</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1156">mikexyz</a><br /><strong>Subject:</strong> 2252<br /><strong>Posted:</strong> 18 May 2005 at 8:29pm<br /><br />Hello:<br><br>I encounter this crazy behavior. On a same command bar, I create threecustom button. The first button have mutiple selections of Line size(LIKE VISIO LINE SIZE). The second button have mutiple selections ofLine Style (LIKE VISIO LINE STYLE). The third button have drop downlist of icon, and selection like color select. <br><br>* NOTE: I took the code from one of the Codejock example for the 1st button &amp; 2nd button.<br><br>The problem is when all three buttons in a same command bar, theLoadCommandBars(...) load bad result into First and Second Button.<br><br>------------------- EXAMPLE CODE ---------------------------------------<br><br>&nbsp;&nbsp;&nbsp;  CXTPToolBar*pFontBar;<br>&nbsp;&nbsp;&nbsp; if (!(pFontBar = (CXTPToolBar*)pCommandBars-&gt;Add(_T("Font Bar"), xtpBarTop)) ||<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; !pFontBar-&gt;LoadToolBar(IDR_EASY_FONT_BAR))<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TRACE0("Failed to create font toolbar\n");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return -1;<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; // Load the previous state for toolbars and menus.<br> &nbsp;&nbsp;&nbsp;LoadCommandBars(_T("CommandBars")); &lt;---------- CAUSE BADINFORMATION LOAD UP<br><br> ---------------------------------------------------------- ----------------------------------- <br><br><br>But when I COMMENT this codes out. The First and Second button appear OK.<br><br>//------------------------ Draw Popup Link Line ------------------------<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (lpCreateControl-&gt;nID ==ID_EASY_LINK_LINE &amp;&amp; pToolBar-&gt;GetBarID() ==IDR_EASY_FONT_BAR)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lpCreateControl-&gt;controlType = xtpControlSplitButtonPopup;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;lpCreateControl-&gt;buttonStyle  =xtpButtonIcon;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// only icon<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return TRUE;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;  //---------------------------------------------------------- ------------<br><span style="font-size:10px"><br /><br />Edited by mikexyz</span>]]>
   </description>
   <pubDate>Wed, 18 May 2005 20:29:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2252&amp;PID=6671&amp;title=bug-or-command-bar-go-crazy#6671</guid>
  </item> 
 </channel>
</rss>