<?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 : How to get the CXTPToolBar Runtime class</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : How to get the CXTPToolBar Runtime class]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 19:11:22 +0000</pubDate>
  <lastBuildDate>Wed, 22 Aug 2007 08:27:02 +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=6769</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[How to get the CXTPToolBar Runtime class : Hello, What code you need replace?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=25305&amp;title=how-to-get-the-cxtptoolbar-runtime-class#25305</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6769<br /><strong>Posted:</strong> 22 August 2007 at 8:27am<br /><br /><P>Hello,</P><DIV>What&nbsp; code you need replace?</DIV>]]>
   </description>
   <pubDate>Wed, 22 Aug 2007 08:27:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=25305&amp;title=how-to-get-the-cxtptoolbar-runtime-class#25305</guid>
  </item> 
  <item>
   <title><![CDATA[How to get the CXTPToolBar Runtime class : Hi Oleg,What are the replacement...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=25302&amp;title=how-to-get-the-cxtptoolbar-runtime-class#25302</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2796">Makarand</a><br /><strong>Subject:</strong> 6769<br /><strong>Posted:</strong> 22 August 2007 at 8:14am<br /><br />Hi Oleg,<br><br>What are the replacement function for GetButtonInfo(..) and SetButtonInfo(..) for toolbar buttons?<br>]]>
   </description>
   <pubDate>Wed, 22 Aug 2007 08:14:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=25302&amp;title=how-to-get-the-cxtptoolbar-runtime-class#25302</guid>
  </item> 
  <item>
   <title><![CDATA[How to get the CXTPToolBar Runtime class : Hello,  Send CChildFrm.cpp/h...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=25210&amp;title=how-to-get-the-cxtptoolbar-runtime-class#25210</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6769<br /><strong>Posted:</strong> 17 August 2007 at 8:52am<br /><br /><DIV>Hello,</DIV><DIV>&nbsp;</DIV><DIV>Send CChildFrm.cpp/h to <a href="mailto:support@codejock.com" target="_blank">support@codejock.com</A>.</DIV>]]>
   </description>
   <pubDate>Fri, 17 Aug 2007 08:52:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=25210&amp;title=how-to-get-the-cxtptoolbar-runtime-class#25210</guid>
  </item> 
  <item>
   <title><![CDATA[How to get the CXTPToolBar Runtime class : Hi Oleg,I tryed function RepositionBars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=25155&amp;title=how-to-get-the-cxtptoolbar-runtime-class#25155</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2796">Makarand</a><br /><strong>Subject:</strong> 6769<br /><strong>Posted:</strong> 16 August 2007 at 3:24am<br /><br />Hi Oleg,<br><br>I tryed function RepositionBars to get the Rect of the tollbar control.<br>My code smiler like the example from CodeJock<b><br>SAMPLES\DockingPane\MDIPanes\<br></b>Implemented same code for toolbar design which is in file<b> <br>ChildFrm.cpp <br>int CChildFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)<br><br></b>In OnCreate(..) function I add my code to get the rect value of ID <b>ID_TOOLS_PROPERTIES</b><br><br>CRect rect;<br>rect = pControl-&gt;GetRect();<br><br>Not able to retrieve the rect value.... :(<br><br>My child window is derive from <b>CXTPFrameWndBase&lt;CMDIChildWnd&gt;<br><br>Please Help me ....<br></b>Waiting for the reply....<br><b><br></b><br>]]>
   </description>
   <pubDate>Thu, 16 Aug 2007 03:24:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=25155&amp;title=how-to-get-the-cxtptoolbar-runtime-class#25155</guid>
  </item> 
  <item>
   <title><![CDATA[How to get the CXTPToolBar Runtime class : Hello,  Yes wndCalTB.GetControl(2)-&amp;gt;GetRect();...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=25098&amp;title=how-to-get-the-cxtptoolbar-runtime-class#25098</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6769<br /><strong>Posted:</strong> 14 August 2007 at 10:22am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Yes wndCalTB.GetControl(2)-&gt;GetRect(); have return rect. Think toolbar is not moved to right position when you call it. Call RepositionBars to be sure it has right position.</DIV>]]>
   </description>
   <pubDate>Tue, 14 Aug 2007 10:22:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=25098&amp;title=how-to-get-the-cxtptoolbar-runtime-class#25098</guid>
  </item> 
  <item>
   <title><![CDATA[How to get the CXTPToolBar Runtime class : Hi Oleg,How can I get the Crect...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=25086&amp;title=how-to-get-the-cxtptoolbar-runtime-class#25086</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2796">Makarand</a><br /><strong>Subject:</strong> 6769<br /><strong>Posted:</strong> 14 August 2007 at 7:24am<br /><br />Hi Oleg,<br><br>How can I get the Crect value of the Toolbar button.<br>My current implementation is as follow <br>--&gt;<br><b>//Creating Toolbar </b><br>VERIFY(m_wndCalTB.CreateToolBar(WS_CHILD | WS_VISIBLE | CBRS_TOP | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_FIXED, this));<br><b>//Setting Button<br></b>if(!m_wndCalTB.SetButtons(calbuttons1,sizeof(calbuttons1)/sizeof(UINT))){<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; TRACE0("Failed to SetButtons\n");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; nRtn = 0 ;&nbsp;&nbsp;&nbsp; &nbsp; }<br><b>//Setting control on the toolbar</b><br>CXTPControl *ctrl;<br>CXTPControlComboBox *btComboBox;&nbsp;&nbsp;&nbsp; &nbsp;<br>ctrl = (CXTPControlButton*)m_wndCalTB.GetControls()-&gt;FindControl(xtpControlButton, IDCAL_COMBO, TRUE, FALSE);<br>m_wndCalTB.GetControls()-&gt;SetControlType(ctrl, xtpControlComboBox);<br>btComboBox = (CXTPControlComboBox*)m_wndCalTB.GetControls()-&gt;FindControl(xtpControlComboBox, IDCAL_COMBO, TRUE, FALSE);&nbsp;&nbsp;&nbsp; <br>btComboBox-&gt;SetWidth(nComboBoxWidth+30);<br><br><b>//Problem to get the rect of the toolbar button.<br></b>Crect rect;<b><br></b>rect = wndCalTB.GetControl(2)-&gt;GetRect();<br>//rect gives the all value&nbsp; = 0 <br><br>Please help me to get the rect position of the control/button.<br>Thanks in advance.<br><br>]]>
   </description>
   <pubDate>Tue, 14 Aug 2007 07:24:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=25086&amp;title=how-to-get-the-cxtptoolbar-runtime-class#25086</guid>
  </item> 
  <item>
   <title><![CDATA[How to get the CXTPToolBar Runtime class : Hello,  1,2. See CXTPControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=25026&amp;title=how-to-get-the-cxtptoolbar-runtime-class#25026</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6769<br /><strong>Posted:</strong> 10 August 2007 at 8:56am<br /><br /><DIV>Hello,</DIV><DIV>&nbsp;</DIV><DIV>1,2. See CXTPControl members in SymbolReference.</DIV><DIV>3. see Samples\CommandBars\CommandBarControls&nbsp; sample.</DIV>]]>
   </description>
   <pubDate>Fri, 10 Aug 2007 08:56:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=25026&amp;title=how-to-get-the-cxtptoolbar-runtime-class#25026</guid>
  </item> 
  <item>
   <title><![CDATA[How to get the CXTPToolBar Runtime class : Hi Oleg,I have design the toolbar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=25021&amp;title=how-to-get-the-cxtptoolbar-runtime-class#25021</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2796">Makarand</a><br /><strong>Subject:</strong> 6769<br /><strong>Posted:</strong> 10 August 2007 at 6:45am<br /><br />Hi Oleg,<br><br>I have design the toolbar with com box control using GetControls()-&gt;Add(..) method.<br><br>How can I create the separator as there is not separator XTPControlType.<br>How do I get the rect position of toolbar and specific control or toolbar button?<br>How can I add the CXTButton on toolbar?<br><br>Please help me....<br>Waiting for the reply....<br>  ]]>
   </description>
   <pubDate>Fri, 10 Aug 2007 06:45:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=25021&amp;title=how-to-get-the-cxtptoolbar-runtime-class#25021</guid>
  </item> 
  <item>
   <title><![CDATA[How to get the CXTPToolBar Runtime class : Hello,  not editable combobox...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=24989&amp;title=how-to-get-the-cxtptoolbar-runtime-class#24989</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6769<br /><strong>Posted:</strong> 09 August 2007 at 1:45am<br /><br /><DIV>Hello,</DIV><DIV>&nbsp;</DIV><DIV>not editable combobox doesn't have any handle. It draws directly to commanbar.</DIV><DIV></DIV>]]>
   </description>
   <pubDate>Thu, 09 Aug 2007 01:45:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=24989&amp;title=how-to-get-the-cxtptoolbar-runtime-class#24989</guid>
  </item> 
  <item>
   <title><![CDATA[How to get the CXTPToolBar Runtime class : Hi Oleq,Thanks for the reply.My...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=24968&amp;title=how-to-get-the-cxtptoolbar-runtime-class#24968</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2796">Makarand</a><br /><strong>Subject:</strong> 6769<br /><strong>Posted:</strong> 08 August 2007 at 9:57am<br /><br />Hi Oleq,<br><br>Thanks for the reply.<br>My combo box is not editable, I am not getting GetEditCtrl()-&gt;GetSafeHwnd();<br>In this case what is the way to get m_hWnd<br><br>Waiting for the reply....<br><br>]]>
   </description>
   <pubDate>Wed, 08 Aug 2007 09:57:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6769&amp;PID=24968&amp;title=how-to-get-the-cxtptoolbar-runtime-class#24968</guid>
  </item> 
 </channel>
</rss>