<?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 : Toolbar on View Draw trouble</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Toolbar on View Draw trouble]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 06:49:06 +0000</pubDate>
  <lastBuildDate>Tue, 20 Jan 2009 09:04:46 +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=13212</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[Toolbar on View Draw trouble : Found the bug.Some trouble with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13212&amp;PID=44723&amp;title=toolbar-on-view-draw-trouble#44723</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 13212<br /><strong>Posted:</strong> 20 January 2009 at 9:04am<br /><br />Found the bug.<br>Some trouble with different resource language.<br><br>&nbsp; Jimmy<br><br>]]>
   </description>
   <pubDate>Tue, 20 Jan 2009 09:04:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13212&amp;PID=44723&amp;title=toolbar-on-view-draw-trouble#44723</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar on View Draw trouble : Hi Oleg,In this function we don&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13212&amp;PID=44721&amp;title=toolbar-on-view-draw-trouble#44721</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 13212<br /><strong>Posted:</strong> 20 January 2009 at 8:35am<br /><br />Hi Oleg,<br><br>In this function we don't have a LoadCommandBars call.<br><br>&nbsp; Jimmy<br><br>]]>
   </description>
   <pubDate>Tue, 20 Jan 2009 08:35:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13212&amp;PID=44721&amp;title=toolbar-on-view-draw-trouble#44721</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar on View Draw trouble : Maybe you added pToolBar-&amp;gt;SetDefaultButtonStyle(...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13212&amp;PID=44720&amp;title=toolbar-on-view-draw-trouble#44720</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13212<br /><strong>Posted:</strong> 20 January 2009 at 8:09am<br /><br /><P>Maybe you added pToolBar-&gt;SetDefaultButtonStyle( xtpButtonCaption );<BR>in some current release but in these "some computers" state is loaded from registry and override this setting.</P><DIV></DIV><DIV></DIV>Try call pToolBar-&gt;SetDefaultButtonStyle after LoadCommandBars.]]>
   </description>
   <pubDate>Tue, 20 Jan 2009 08:09:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13212&amp;PID=44720&amp;title=toolbar-on-view-draw-trouble#44720</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar on View Draw trouble : Hello,We have a simple Tool on...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13212&amp;PID=44716&amp;title=toolbar-on-view-draw-trouble#44716</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 13212<br /><strong>Posted:</strong> 20 January 2009 at 4:38am<br /><br />Hello,<br><br>We have a simple Tool on top of a view.<br>VERIFY(InitCommandBars());<br>CXTPCommandBars* pCommandBars = GetCommandBars();<br><br>pCommandBars-&gt;SetPaintManager(new CXTPOffice2003Theme());<br><br>CXTPToolBar* pToolBar = pCommandBars-&gt;Add(_T("Global Online State Commands"), xtpBarTop);<br>pToolBar-&gt;SetDefaultButtonStyle( xtpButtonCaption );<br>VERIFY(pToolBar-&gt;LoadToolBar(IDR_TOOLBAR_ONLINESTATE_GLOBAL));<br>pToolBar-&gt;EnableDocking(xtpFlagAlignTop);<br><br>pCommandBars-&gt;GetCommandBarsOptions()-&gt;ShowKeyboardCues(xtpKeyboardCuesShowWindowsDefault);<br>pCommandBars-&gt;GetCommandBarsOptions()-&gt;bShowExpandButtonAlways = FALSE;<br><br>CXTPControls *pControls = pToolBar-&gt;GetControls();<br>CXTPControl *pControl = pControls-&gt;Add(xtpControlLabel, ID_ONLINESTATE_LABEL, 0, 0 );<br>if (pControl)<br>&nbsp;&nbsp;&nbsp; pControl-&gt;SetCaption("All Safe-CPU(s)");<br><br>// pToolBar-&gt;OnRecalcLayout();<br><br>The toolbar has no Icons, only Caption.<br>The caption strings are in the string resource table.<br><br>On some computer (not all), some toolbar button does not show the text.<br>there are empty buttons on the toolbar.<br>The click on the empty button work correct.<br>Any idea ?<br><br>&nbsp; Jimmy<br><br>]]>
   </description>
   <pubDate>Tue, 20 Jan 2009 04:38:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13212&amp;PID=44716&amp;title=toolbar-on-view-draw-trouble#44716</guid>
  </item> 
 </channel>
</rss>