<?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 : SetButtonInfo and GetItemRect replacements?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : SetButtonInfo and GetItemRect replacements?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 19:14:57 +0000</pubDate>
  <lastBuildDate>Mon, 13 Aug 2007 08:51:03 +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=7782</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[SetButtonInfo and GetItemRect replacements? : Hello,   to add separator ca...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7782&amp;PID=25058&amp;title=setbuttoninfo-and-getitemrect-replacements#25058</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7782<br /><strong>Posted:</strong> 13 August 2007 at 8:51am<br /><br />Hello, <DIV>&nbsp;</DIV><DIV>to add separator call</DIV><DIV>&nbsp;</DIV><DIV>pToolBar-&gt;GetControl(i)-&gt;SetBeginGroup(TRUE);</DIV><DIV>&nbsp;</DIV><DIV>to get rect call</DIV><DIV>&nbsp;</DIV><DIV>pToolBar-&gt;GetControl(i)-&gt;GetRect();</DIV><DIV>&nbsp;</DIV><DIV>Please check our samples. Better use our CXTPControlComboBox to use current theme for combo.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>\Samples\CommandBars\CommonControls shows how to add standard combos to toolbar</DIV><DIV>\Samples\CommandBars\CustomThemes how to add themed combos.</DIV>]]>
   </description>
   <pubDate>Mon, 13 Aug 2007 08:51:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7782&amp;PID=25058&amp;title=setbuttoninfo-and-getitemrect-replacements#25058</guid>
  </item> 
  <item>
   <title><![CDATA[SetButtonInfo and GetItemRect replacements? : Hi,Can anybody tell me what are...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7782&amp;PID=25055&amp;title=setbuttoninfo-and-getitemrect-replacements#25055</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 7782<br /><strong>Posted:</strong> 13 August 2007 at 4:17am<br /><br />Hi,<br><br>Can anybody tell me what are the replacement functions in Codejock 10.4.2 for <b>SetButtonInfo and GetItemRect</b> ?<br><br>Previously I am deriving my class from <b>CXTToolBar </b>and as per present implementation I am deriving my class from <b>CXTPToolBar</b>.<br><br>My requirement is to display combo box on Toolbar.<br>My previous code is as follows:-<br><br>&nbsp;&nbsp;&nbsp; int nID=ID_PRIMARY_VIEW_COMBO;<br>&nbsp;&nbsp;&nbsp; int nDropHeight=150;<br><br>&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; <b>//SetButtonInfo(nIndex, nID, TBBS_SEPARATOR, w);</b><br><br>&nbsp;&nbsp;&nbsp; CRect rect;<br>&nbsp;&nbsp;&nbsp; <b>//GetItemRect(nIndex, &amp;rect);</b><br>&nbsp;&nbsp;&nbsp; rect.top = 0;<br>&nbsp;&nbsp;&nbsp; rect.bottom = rect.top + nDropHeight;<br>&nbsp;&nbsp;&nbsp; if (!m_MasterViewListCombo.Create(&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CBS_DROPDOWNLIST|CBS_AUTOHSCROLL|<br>WS_VISIBLE|WS_TABSTOP|WS_VSCROLL|WS_HSCROLL,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rect, this, nID))<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TRACE("Failed to create combo-box\n");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return FALSE;<br>&nbsp;&nbsp;&nbsp; }<br><br>Thanks in advance.<br><br>]]>
   </description>
   <pubDate>Mon, 13 Aug 2007 04:17:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7782&amp;PID=25055&amp;title=setbuttoninfo-and-getitemrect-replacements#25055</guid>
  </item> 
 </channel>
</rss>