<?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 : Creating Toolbars: Create or Add?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Creating Toolbars: Create or Add?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 20:19:42 +0000</pubDate>
  <lastBuildDate>Wed, 22 Aug 2007 12:40:33 +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=7838</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[Creating Toolbars: Create or Add? : instead DECLARE_DYNAMIC, IMPLEMENT_DYNAMIC...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25324&amp;title=creating-toolbars-create-or-add#25324</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7838<br /><strong>Posted:</strong> 22 August 2007 at 12:40pm<br /><br />instead DECLARE_DYNAMIC, IMPLEMENT_DYNAMIC use DECLARE_XTP_COMMANDBAR, IMPLEMENT_XTP_COMMANDBAR, ]]>
   </description>
   <pubDate>Wed, 22 Aug 2007 12:40:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25324&amp;title=creating-toolbars-create-or-add#25324</guid>
  </item> 
  <item>
   <title><![CDATA[Creating Toolbars: Create or Add? : Hi Oleg,I am getting crash following...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25310&amp;title=creating-toolbars-create-or-add#25310</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 7838<br /><strong>Posted:</strong> 22 August 2007 at 9:24am<br /><br />Hi Oleg,<br><br><font color="#ff0000">I am getting crash&nbsp; following call:-<br><br></font><b>&gt;&gt; CToolBarViewName </b>is derived from<b> CXTPToolBar<br><br></b>&gt;&gt; Also I added following lines in .h and .cpp file respectively.<br><br>DECLARE_DYNAMIC(<b>CToolBarViewName</b>)&nbsp;  <br>IMPLEMENT_DYNAMIC(<b>CToolBarViewName </b>,<b>CXTPToolBar</b>)<br><br><b>CToolBarViewName </b>*m_wndToolBar;<br><br>Following Line of code CRASHING:<br><br>m_wndToolBar = (<b>CToolBarViewName</b>*)pCommandBars-&gt;Add(_T("View"), xtpBarTop, RUNTIME_CLASS(<b>CToolBarViewName </b>));<br><br>2) I need to handle PreTranslateMessage of my Toolbar class <b>CToolBarViewName</b>.<br><br>Thanks in advance.<br>]]>
   </description>
   <pubDate>Wed, 22 Aug 2007 09:24:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25310&amp;title=creating-toolbars-create-or-add#25310</guid>
  </item> 
  <item>
   <title><![CDATA[Creating Toolbars: Create or Add? : Hello,  PretranslateMessage of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25304&amp;title=creating-toolbars-create-or-add#25304</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7838<br /><strong>Posted:</strong> 22 August 2007 at 8:25am<br /><br />Hello, <DIV>PretranslateMessage of what class ? </DIV>]]>
   </description>
   <pubDate>Wed, 22 Aug 2007 08:25:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25304&amp;title=creating-toolbars-create-or-add#25304</guid>
  </item> 
  <item>
   <title><![CDATA[Creating Toolbars: Create or Add? : Hi Oleg,With CXTPEditControl added...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25298&amp;title=creating-toolbars-create-or-add#25298</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 7838<br /><strong>Posted:</strong> 22 August 2007 at 6:17am<br /><br />Hi Oleg,<br>With CXTPEditControl added on Toolbar, I am unable to handle PretranslateMessage. What is the work around for this problem?<br><br>Previously I am using create and now I am using Add.<br><br>Thanks in advance.<br>]]>
   </description>
   <pubDate>Wed, 22 Aug 2007 06:17:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25298&amp;title=creating-toolbars-create-or-add#25298</guid>
  </item> 
  <item>
   <title><![CDATA[Creating Toolbars: Create or Add? : Hello,  See Samples\CommandB...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25266&amp;title=creating-toolbars-create-or-add#25266</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7838<br /><strong>Posted:</strong> 21 August 2007 at 12:50am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>See Samples\CommandBars\CustomThemes\CustomThemesView.cpp&nbsp; file.</DIV><DIV>&nbsp;</DIV><DIV>You need ON_XTP_EXECUTE macro.</DIV>]]>
   </description>
   <pubDate>Tue, 21 Aug 2007 00:50:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25266&amp;title=creating-toolbars-create-or-add#25266</guid>
  </item> 
  <item>
   <title><![CDATA[Creating Toolbars: Create or Add? : Hi Oleg,Solved above mentioned...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25263&amp;title=creating-toolbars-create-or-add#25263</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 7838<br /><strong>Posted:</strong> 20 August 2007 at 9:51am<br /><br />Hi Oleg,<br><br>Solved above mentioned problem using<br><br><font color="#0000ff"><b>m_EditBox-&gt;SetFlags(xtpFlagManualUpdate);</b><br><br><font color="#000000">But how to trap Edit box update and Enter key pressed events? (Command Handlers?)<br><br>Previously I am using CEdit control so I could able to trap <br>::PreTranslateMessage(MSG *pMsg) and<br>ON_EN_CHANGE(ID_EDITBOX, OnChangeEdit)<br><br><font color="#ff0000"><b>What I need to do for trapping above mentioned messages?</b></font><br></font></font>]]>
   </description>
   <pubDate>Mon, 20 Aug 2007 09:51:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25263&amp;title=creating-toolbars-create-or-add#25263</guid>
  </item> 
  <item>
   <title><![CDATA[Creating Toolbars: Create or Add? : Hi Oleg,I have created one toolbar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25262&amp;title=creating-toolbars-create-or-add#25262</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 7838<br /><strong>Posted:</strong> 20 August 2007 at 8:49am<br /><br />Hi Oleg,<br><br>I have created one toolbar on Commandbar using function <b>"Add"<br><br></b>I am adding one EditBox on that Toolbar using following method:<br><br><b>CXTPControlEdit </b><b>m_EditBox; </b><b><br>EditBox = </b><b>(<font color="#0000ff">CXTPControlEdit</font>*)this-&gt;Add(<font color="#0000ff">xtpControlEdit</font>, nID);<br><br></b>But I am getting Non Editable EditBox on the toolbar. Why it's happening so?<br><br>Thanks :)<br>]]>
   </description>
   <pubDate>Mon, 20 Aug 2007 08:49:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25262&amp;title=creating-toolbars-create-or-add#25262</guid>
  </item> 
  <item>
   <title><![CDATA[Creating Toolbars: Create or Add? : Hello, If you need CommandBars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25259&amp;title=creating-toolbars-create-or-add#25259</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7838<br /><strong>Posted:</strong> 20 August 2007 at 7:21am<br /><br /><DIV>Hello,</DIV><DIV>If you need CommandBars and CommandBarsOptions, Load/Save, Customization and Docking you use Add, in other case use Create.</DIV><DIV>&nbsp;</DIV><DIV>With Controls you can use any method. they all good. :)</DIV>]]>
   </description>
   <pubDate>Mon, 20 Aug 2007 07:21:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25259&amp;title=creating-toolbars-create-or-add#25259</guid>
  </item> 
  <item>
   <title><![CDATA[Creating Toolbars: Create or Add? : Hi Oleg,Thanks for your reply....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25258&amp;title=creating-toolbars-create-or-add#25258</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 7838<br /><strong>Posted:</strong> 20 August 2007 at 6:44am<br /><br />Hi Oleg,<br><br>Thanks for your reply. Any other advantages by using "Add" method?<br>Is same rule applies while creating controls on Toolbars?<br>]]>
   </description>
   <pubDate>Mon, 20 Aug 2007 06:44:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25258&amp;title=creating-toolbars-create-or-add#25258</guid>
  </item> 
  <item>
   <title><![CDATA[Creating Toolbars: Create or Add? : Hello,   Add method is always...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25256&amp;title=creating-toolbars-create-or-add#25256</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7838<br /><strong>Posted:</strong> 20 August 2007 at 6:04am<br /><br />Hello, <DIV>&nbsp;</DIV><DIV><strong>Add</strong> method is always better. <strong>CreateToolbar</strong> can be used if you need create single toolbar without CommandBars/Docking/Customization to put it in some custom&nbsp;location.</DIV>]]>
   </description>
   <pubDate>Mon, 20 Aug 2007 06:04:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7838&amp;PID=25256&amp;title=creating-toolbars-create-or-add#25256</guid>
  </item> 
 </channel>
</rss>