<?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 : CXTPToolBar in a _USRDLL</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPToolBar in a _USRDLL]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 18:56:52 +0000</pubDate>
  <lastBuildDate>Mon, 16 Jan 2006 00:21:13 +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=3488</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[CXTPToolBar in a _USRDLL :  Yes, in OnSize call RepositionBars,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10536&amp;title=cxtptoolbar-in-a-usrdll#10536</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3488<br /><strong>Posted:</strong> 16 January 2006 at 12:21am<br /><br /><P>&nbsp;</P><P>Yes, in OnSize call RepositionBars, see Advanced sample:</P><P>void CHeroesView::OnSize(UINT nType, int cx, int cy)<BR>{<BR>&nbsp;CWnd::OnSize(nType, cx, cy);</P><P>&nbsp;RepositionBars(0, 0xffff, AFX_IDW_PANE_FIRST, reposDefault);<BR>}<BR>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 16 Jan 2006 00:21:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10536&amp;title=cxtptoolbar-in-a-usrdll#10536</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar in a _USRDLL : Yes I can subclass from CXTPCommandBarsSiteBase,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10535&amp;title=cxtptoolbar-in-a-usrdll#10535</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 3488<br /><strong>Posted:</strong> 15 January 2006 at 8:11am<br /><br /><P>Yes I can subclass from <FONT size=2>CXTPCommandBarsSiteBase, and then use InitCommandBars, GetCommandBars, Add etc. But I can't figure out to position the bar in the window. Nothing is displayed even the xtpBarTop is set. I can't see the bar?</FONT></P><P><FONT size=2>Maybe something should be done in OnSize?</FONT></P><P><FONT size=2>-cpede</FONT></P>]]>
   </description>
   <pubDate>Sun, 15 Jan 2006 08:11:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10535&amp;title=cxtptoolbar-in-a-usrdll#10535</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar in a _USRDLL : You can try CXTPCommandBarsSiteBase...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10511&amp;title=cxtptoolbar-in-a-usrdll#10511</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3488<br /><strong>Posted:</strong> 12 January 2006 at 11:11am<br /><br /><P>You can try CXTPCommandBarsSiteBase instead <FONT size=2>CXTPDialog</FONT></P><P><FONT size=2>class CYourWindow : public CXTPCommandBarsSiteBase&lt;CWnd&gt;</FONT></P><P><FONT size=2></FONT>&nbsp;</P>]]>
   </description>
   <pubDate>Thu, 12 Jan 2006 11:11:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10511&amp;title=cxtptoolbar-in-a-usrdll#10511</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar in a _USRDLL : Yes, but since &amp;#034;m_pCommandBars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10508&amp;title=cxtptoolbar-in-a-usrdll#10508</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 3488<br /><strong>Posted:</strong> 12 January 2006 at 7:06am<br /><br /><P>Yes, but since "<FONT size=2>m_pCommandBars == 0" no tooltips are displayed, as far as I could see in the code. <IMG src="http://forum.codejock.com/smileys/smiley19.gif" border="0"></FONT></P><P><FONT size=2>Fustrating so close to get it to work. I could offcause try to place everything inside a CXTPDialog, and then move the dialog to fit the docking pane??</FONT></P><P><FONT size=2>-cpede</FONT></P>]]>
   </description>
   <pubDate>Thu, 12 Jan 2006 07:06:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10508&amp;title=cxtptoolbar-in-a-usrdll#10508</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar in a _USRDLL : So you use CBRS_TOOLTIPS style...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10502&amp;title=cxtptoolbar-in-a-usrdll#10502</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3488<br /><strong>Posted:</strong> 11 January 2006 at 11:33am<br /><br /><P>So you use <FONT size=2>CBRS_TOOLTIPS style for CreateToolBar method? </FONT></P>]]>
   </description>
   <pubDate>Wed, 11 Jan 2006 11:33:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10502&amp;title=cxtptoolbar-in-a-usrdll#10502</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar in a _USRDLL : Any idea how to get the tool tips...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10484&amp;title=cxtptoolbar-in-a-usrdll#10484</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 3488<br /><strong>Posted:</strong> 10 January 2006 at 2:38am<br /><br /><P>Any idea how to get the tool tips working when derived from CXTPToolBar. In xtptoolbar.cpp the following code exist:</P><FONT size=2><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> ((m_dwStyle &amp; CBRS_TOOLTIPS) &amp;&amp; m_pCommandBars == 0)<BR>EnableToolTips();</FONT></P><P><FONT size=2>So someone has thought of something?</FONT></P><P><FONT size=2>-cpede</P></FONT>]]>
   </description>
   <pubDate>Tue, 10 Jan 2006 02:38:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10484&amp;title=cxtptoolbar-in-a-usrdll#10484</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar in a _USRDLL : 1. I have looked at the dialog...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10480&amp;title=cxtptoolbar-in-a-usrdll#10480</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 3488<br /><strong>Posted:</strong> 09 January 2006 at 1:46pm<br /><br /><P>1. I have looked at the dialog sample. I can see that the toolbar is created from the command bars (like we normal do in the mainframe). But in my case&nbsp;I have to use a CWnd class since this must be embedded as a docking pane. I use the same code as for the C<FONT size=2>PanePropertyGrid class e.g. in the DrawClient sample. In that sample the toolbar is created directly from the CXTPToolBar class. The only difference is that my class is placed inside a DLL.</FONT></P><P><FONT size=2>2. This does the trick, thanks.</FONT></P><P><FONT size=2>-cpede</FONT></P>]]>
   </description>
   <pubDate>Mon, 09 Jan 2006 13:46:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10480&amp;title=cxtptoolbar-in-a-usrdll#10480</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar in a _USRDLL : 1. Yes, in external window OnIdleUpdateCmdUI...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10475&amp;title=cxtptoolbar-in-a-usrdll#10475</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3488<br /><strong>Posted:</strong> 09 January 2006 at 10:32am<br /><br /><P>1. Yes, in external window OnIdleUpdateCmdUI can be not called, you must route it as we do in our DialogSample.</P><P>2. use additional TPM_NONOTIFY flag.</P>]]>
   </description>
   <pubDate>Mon, 09 Jan 2006 10:32:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10475&amp;title=cxtptoolbar-in-a-usrdll#10475</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar in a _USRDLL : Hi, I&amp;#039;m trying to have a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10468&amp;title=cxtptoolbar-in-a-usrdll#10468</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 3488<br /><strong>Posted:</strong> 09 January 2006 at 8:49am<br /><br /><P>Hi,</P><P>I'm trying to have a CXTPToolBar in a docking command bar window created in a separate _USRDLL.</P><P>The creation of the toolbar works fine, and it finds the resources ok. But, the CmdUI routing is not working. I can manually force changes to the toolbar buttons by calling OnIdleUpdateCmdUI(NULL, NULL), but I'm sure that this is not the correct way. E.g. I can't get the tooltips to display, and when I click a toolbar button it stays pressed.</P><P>I also noticed that when calling a context popupmenu I need to make a command handler using ON_COMMAND in the messagemap even I specify the TPM_RETURNCMD flag, and have enables all items using the AppendMenu call?</P><P>Thanks,</P><P>-cpede<BR></P>]]>
   </description>
   <pubDate>Mon, 09 Jan 2006 08:49:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3488&amp;PID=10468&amp;title=cxtptoolbar-in-a-usrdll#10468</guid>
  </item> 
 </channel>
</rss>