<?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 : Programmatic creation of toolbars</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Programmatic creation of toolbars]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 31 May 2026 22:50:00 +0000</pubDate>
  <lastBuildDate>Tue, 12 Sep 2006 01:49:10 +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=4773</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[Programmatic creation of toolbars : Thank you.. Oleg ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4773&amp;PID=15632&amp;title=programmatic-creation-of-toolbars#15632</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2281">Sstar9</a><br /><strong>Subject:</strong> 4773<br /><strong>Posted:</strong> 12 September 2006 at 1:49am<br /><br />Thank you.. Oleg]]>
   </description>
   <pubDate>Tue, 12 Sep 2006 01:49:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4773&amp;PID=15632&amp;title=programmatic-creation-of-toolbars#15632</guid>
  </item> 
  <item>
   <title><![CDATA[Programmatic creation of toolbars : Hi, pButton-&amp;gt;SetBeginGroup(TRUE);...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4773&amp;PID=15628&amp;title=programmatic-creation-of-toolbars#15628</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4773<br /><strong>Posted:</strong> 12 September 2006 at 12:27am<br /><br />Hi,<DIV>pButton-&gt;SetBeginGroup(TRUE);</DIV>]]>
   </description>
   <pubDate>Tue, 12 Sep 2006 00:27:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4773&amp;PID=15628&amp;title=programmatic-creation-of-toolbars#15628</guid>
  </item> 
  <item>
   <title><![CDATA[Programmatic creation of toolbars : For the Programmatically generated...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4773&amp;PID=15623&amp;title=programmatic-creation-of-toolbars#15623</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2281">Sstar9</a><br /><strong>Subject:</strong> 4773<br /><strong>Posted:</strong> 11 September 2006 at 9:43pm<br /><br /><P>For the Programmatically generated CommandBar, is there any way we could programmtically add a Seperator in between the Controls?</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 11 Sep 2006 21:43:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4773&amp;PID=15623&amp;title=programmatic-creation-of-toolbars#15623</guid>
  </item> 
  <item>
   <title><![CDATA[Programmatic creation of toolbars : I went through this too in the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4773&amp;PID=15538&amp;title=programmatic-creation-of-toolbars#15538</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2014">akur</a><br /><strong>Subject:</strong> 4773<br /><strong>Posted:</strong> 08 September 2006 at 1:39am<br /><br />I went through this too in the past, maybe this will help you e.g. to create a toolbar in a CXTPDialog.<br><br>Creating the toolbar:<br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; CXTPToolbar *pToolbar = GetCommandBars()-&gt;Add(_T("Your Toolbar Name"), xtpBarTop);</font><br><br>Adding a button to this toolbar:<br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; CXTPControl *pButton = new CXTPControlButton();<br>&nbsp;&nbsp;&nbsp; pButton-&gt;SetID(nYourButtonID);<br>&nbsp;&nbsp;&nbsp; pButton-&gt;SetCustomIcon(hYourIconHandle);<br>&nbsp;&nbsp;&nbsp; pButton-&gt;SetCaption(strYourCaptionText);<br>&nbsp;&nbsp;&nbsp; pButton-&gt;SetTooltip(strYourTooltipText);<br>&nbsp;&nbsp;&nbsp; // Insert button to toolbar:<br>&nbsp;&nbsp;&nbsp; pToolbar-&gt;GetControls()-&gt;Add(pButton);</font><br><br>Hope this helps. <img src="http://forum.codejock.com/smileys/smiley20.gif" border="0" align="absmiddle"><br><br>]]>
   </description>
   <pubDate>Fri, 08 Sep 2006 01:39:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4773&amp;PID=15538&amp;title=programmatic-creation-of-toolbars#15538</guid>
  </item> 
  <item>
   <title><![CDATA[Programmatic creation of toolbars : Hi,  start from Help :) see...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4773&amp;PID=14862&amp;title=programmatic-creation-of-toolbars#14862</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4773<br /><strong>Posted:</strong> 14 August 2006 at 9:13am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>start from Help :) see CXTPControl, CXTPControls, CXTPCommandBar:</DIV><DIV>&nbsp;</DIV><DIV>something like:</DIV><DIV>&nbsp;</DIV><DIV>pToolBar-&gt;GetControls()-&gt;Add(xtpControlButton, Id);</DIV>]]>
   </description>
   <pubDate>Mon, 14 Aug 2006 09:13:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4773&amp;PID=14862&amp;title=programmatic-creation-of-toolbars#14862</guid>
  </item> 
  <item>
   <title><![CDATA[Programmatic creation of toolbars : I need to dynamically create a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4773&amp;PID=14800&amp;title=programmatic-creation-of-toolbars#14800</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1351">aznodak</a><br /><strong>Subject:</strong> 4773<br /><strong>Posted:</strong> 10 August 2006 at 12:50am<br /><br /><P>I need to dynamically create a toolbar programmatically without using the apps resource. The user&nbsp;should not be able to&nbsp;modify the toolbar.</P><DIV></DIV><P><DIV></DIV>The filenames of the toolbar images will be in an simple ascii config file. I need to tie notification of a toolbar button being activated to a unique id I will create on the fly. One function needs to catch all button activation and extract the unique id. Won't know how many buttons will be created until the config file is loaded.</P><DIV>There are so many classes to dig through, so far I have not found anything that directly addresses what I need to do. </DIV><DIV>&nbsp;</DIV><DIV>Any hints on where to start?</DIV>]]>
   </description>
   <pubDate>Thu, 10 Aug 2006 00:50:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4773&amp;PID=14800&amp;title=programmatic-creation-of-toolbars#14800</guid>
  </item> 
 </channel>
</rss>