<?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 : Clicking a XTPToolbar button</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Clicking a XTPToolbar button]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 26 Apr 2026 07:06:33 +0000</pubDate>
  <lastBuildDate>Thu, 09 Dec 2010 11:01:21 +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=17658</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[Clicking a XTPToolbar button : We&amp;#039;re working on a integration...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17658&amp;PID=61745&amp;title=clicking-a-xtptoolbar-button#61745</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6518">KWSM</a><br /><strong>Subject:</strong> 17658<br /><strong>Posted:</strong> 09 December 2010 at 11:01am<br /><br />We're working on a integration between a foreground application we wrote, and a background application written by a 3rd party, using the XTPToolbar controls. We need to be able to read the status of buttons in a band on the toolbar, and be able to click the same buttons. We're referencing only one band in the application, and 3 buttons.<DIV>&nbsp;</DIV><DIV>Previos versions of the application we're integrating against used standard common control toolbars, so we're currently using a loop with a TB_BUTTONCOUNT message to get the button count, iterating over the buttons using a TB_GETBUTTON message for each button, then saving the handles of the 3 buttons we need to be able to send TB_GETSTATE messages to get their up/down state, and WM_COMMAND&nbsp;messages to click the buttons. Since the TM_BUTTONCOUNT message always returns zero when we send the message to the XTPToolbar bands, we don't have a way to get to the buttons.</DIV><DIV>&nbsp;</DIV><DIV>Thoughts? Anything will help me greatly.</DIV><DIV>&nbsp;</DIV><DIV>Thank you!</DIV><DIV>&nbsp;</DIV><DIV>Keith</DIV>]]>
   </description>
   <pubDate>Thu, 09 Dec 2010 11:01:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17658&amp;PID=61745&amp;title=clicking-a-xtptoolbar-button#61745</guid>
  </item> 
 </channel>
</rss>