<?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 : CXTPTabToolBar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CXTPTabToolBar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 19:22:56 +0000</pubDate>
  <lastBuildDate>Fri, 09 Jan 2009 11:22:44 +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=13119</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[CXTPTabToolBar : Hi, Same for TabToolbar + call...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13119&amp;PID=44380&amp;title=cxtptabtoolbar#44380</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13119<br /><strong>Posted:</strong> 09 January 2009 at 11:22am<br /><br />Hi,<DIV>Same for TabToolbar + call pControl-&gt;SetCategory(lpszItem);<BR>and maybe UpdateTabs after.</DIV>]]>
   </description>
   <pubDate>Fri, 09 Jan 2009 11:22:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13119&amp;PID=44380&amp;title=cxtptabtoolbar#44380</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabToolBar : Yes, but how can we add buttons...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13119&amp;PID=44366&amp;title=cxtptabtoolbar#44366</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3776">gmail</a><br /><strong>Subject:</strong> 13119<br /><strong>Posted:</strong> 09 January 2009 at 7:44am<br /><br />Yes, but how can we add buttons in manner of (code from normal toolbar):<br><br>HICON icon=(HICON)LoadImage(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDI_PHONE),IMAGE_ICON,96,96,0);<br>pToolBar-&gt;GetControls()-&gt;Add(xtpControlButton, 51000)-&gt;SetStyle(xtpButtonIconAndCaption);<br>pToolBar-&gt;GetControls()-&gt;GetAt(0)-&gt;SetCaption(_T("cp"));<br>pToolBar-&gt;GetControls()-&gt;GetAt(0)-&gt;SetFlags(xtpFlagManualUpdate);<br>pToolBar-&gt;GetControls()-&gt;GetAt(0)-&gt;SetCustomIcon(icon);<br><br>This would add button one at a time dynamically. How to do this in tabbed toolbar?<br>]]>
   </description>
   <pubDate>Fri, 09 Jan 2009 07:44:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13119&amp;PID=44366&amp;title=cxtptabtoolbar#44366</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabToolBar : Hi, This code will add buttons...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13119&amp;PID=44348&amp;title=cxtptabtoolbar#44348</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13119<br /><strong>Posted:</strong> 09 January 2009 at 1:55am<br /><br />Hi,<DIV>This code will add buttons defined in StandardIcons array.</DIV>]]>
   </description>
   <pubDate>Fri, 09 Jan 2009 01:55:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13119&amp;PID=44348&amp;title=cxtptabtoolbar#44348</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabToolBar : How can we dynamically add buttons...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13119&amp;PID=44322&amp;title=cxtptabtoolbar#44322</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3776">gmail</a><br /><strong>Subject:</strong> 13119<br /><strong>Posted:</strong> 08 January 2009 at 12:32pm<br /><br />How can we dynamically add buttons and icons to tabbed toolbar? I'm studying your TabbedToolbar example but I cannot figure it out:<br><br>CXTPTabToolBar* pToolBar = (CXTPTabToolBar*)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pCommandBars-&gt;Add(_T("Standard"), xtpBarTop, RUNTIME_CLASS(CXTPTabToolBar));<br><br>&nbsp;&nbsp;&nbsp; pToolBar-&gt;SetBarID(IDR_MAINFRAME);<br><br>&nbsp;&nbsp;&nbsp; CXTPTabManagerItem* pItem = pToolBar-&gt;InsertCategory(0, _T("Standard"), StandardIcons, _countof(StandardIcons));<br>&nbsp;&nbsp;&nbsp; pItem-&gt;SetImageIndex(IDR_MAINFRAME);<br><br>How to add buttons (i.e. icons) to pToolBar object? Thanks for help!<br>]]>
   </description>
   <pubDate>Thu, 08 Jan 2009 12:32:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13119&amp;PID=44322&amp;title=cxtptabtoolbar#44322</guid>
  </item> 
 </channel>
</rss>