<?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 : Toolbar Tooltip Style</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Toolbar Tooltip Style]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 19:10:29 +0000</pubDate>
  <lastBuildDate>Sat, 16 Feb 2008 04:35:43 +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=9230</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[Toolbar Tooltip Style :   Simon HB9DRV wrote:Thanks -...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9230&amp;PID=31247&amp;title=toolbar-tooltip-style#31247</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 9230<br /><strong>Posted:</strong> 16 February 2008 at 4:35am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Simon HB9DRV" alt="Originally posted by Simon HB9DRV" style="vertical-align: text-bottom;" /> <strong>Simon HB9DRV wrote:</strong><br /><br />Thanks - I'll try it today.</td></tr></table> <DIV>&nbsp;</DIV><DIV>Excellent - have 100 hero points :-)</DIV>]]>
   </description>
   <pubDate>Sat, 16 Feb 2008 04:35:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9230&amp;PID=31247&amp;title=toolbar-tooltip-style#31247</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar Tooltip Style : Thanks - I&amp;#039;ll try it today....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9230&amp;PID=31245&amp;title=toolbar-tooltip-style#31245</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 9230<br /><strong>Posted:</strong> 16 February 2008 at 1:51am<br /><br />Thanks - I'll try it today. ]]>
   </description>
   <pubDate>Sat, 16 Feb 2008 01:51:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9230&amp;PID=31245&amp;title=toolbar-tooltip-style#31245</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar Tooltip Style : Hello Simon;  I did it this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9230&amp;PID=31243&amp;title=toolbar-tooltip-style#31243</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 9230<br /><strong>Posted:</strong> 15 February 2008 at 6:05pm<br /><br />Hello Simon;<DIV>&nbsp;</DIV><DIV>I did it this way and it works very well:</DIV><DIV>&nbsp;</DIV><DIV>class CBatchInfoContainer : public CWnd<BR>{<BR>public:<BR>&nbsp;CBatchInfoContainer();<BR>&nbsp;virtual ~CBatchInfoContainer();</DIV><DIV>&nbsp;bool Create(DWORD dwStyle, const RECT&amp; rect, CWnd* pParentWnd, UINT nID);</DIV><DIV>private:<BR>&nbsp;CXTPCommandBars*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pCmdBars_;</DIV><DIV>&nbsp;int&nbsp;&nbsp;OnCreate(LPCREATESTRUCT lpCreateStruct);</DIV><DIV>&nbsp;DECLARE_MESSAGE_MAP()<BR>};</DIV><DIV>-------------------------------------------------------------------------------------------</DIV><DIV>&nbsp;</DIV><DIV>CBatchInfoContainer::CBatchInfoContainer()<BR>try : pCmdBars_(CXTPCommandBars::CreateCommandBars())<BR>{<BR>}<BR>catch (const std::bad_alloc&amp;) {</DIV><DIV>};</DIV><DIV>CBatchInfoContainer::~CBatchInfoContainer() {<BR>&nbsp;pCmdBars_-&gt;InternalRelease();<BR>}</DIV><DIV><BR>BEGIN_MESSAGE_MAP(CBatchInfoContainer, CWnd)<BR>&nbsp;ON_WM_CREATE()<BR>END_MESSAGE_MAP()</DIV><DIV><BR>int CBatchInfoContainer::OnCreate(LPCREATESTRUCT lpcs) {<BR>&nbsp;if (CWnd::OnCreate(lpcs)!=0)<BR>&nbsp;&nbsp;return -1;</DIV><DIV>&nbsp;pCmdBars_-&gt;GetToolTipContext()-&gt;SetStyle(xtpToolTipOffice2007);<BR>&nbsp;pCmdBars_-&gt;SetSite(this);<BR>&nbsp;pCmdBars_-&gt;EnableCustomization(FALSE);<BR>&nbsp;pCmdBars_-&gt;EnableDocking();</DIV><DIV>// Create ToolBar<BR>&nbsp;CXTPToolBar* pToolBar = (CXTPToolBar*)pCmdBars_-&gt;Add(_T("BatchInfoToolbar"), xtpBarBottom);<BR>&nbsp;if (!pToolBar || !pToolBar-&gt;LoadToolBar(IDR_TOOLBAR_BATCHINFO))<BR>&nbsp;{<BR>&nbsp;&nbsp;TRACE0("Failed to create toolbar\n");<BR>&nbsp;&nbsp;return -1;<BR>&nbsp;}</DIV><DIV>&nbsp;pToolBar-&gt;SetShowGripper(FALSE);<BR>&nbsp;pToolBar-&gt;ShowExpandButton(FALSE);<BR>&nbsp;pToolBar-&gt;EnableDocking(xtpFlagAlignBottom|xtpFlagStretched);</DIV><DIV>&nbsp;return 0;<BR>}</DIV><DIV>&nbsp;</DIV><DIV>Hope this helps. <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Fri, 15 Feb 2008 18:05:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9230&amp;PID=31243&amp;title=toolbar-tooltip-style#31243</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar Tooltip Style :   Simon HB9DRV wrote:  oleg...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9230&amp;PID=31234&amp;title=toolbar-tooltip-style#31234</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 9230<br /><strong>Posted:</strong> 15 February 2008 at 1:14pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Simon HB9DRV" alt="Originally posted by Simon HB9DRV" style="vertical-align: text-bottom;" /> <strong>Simon HB9DRV wrote:</strong><br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />Hi, <DIV>You need connect it to some CXTPCommandBars object. Serch SetCommandBars in forum.</DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>Sorry Oleg, I only just saw your reply. Could I use the CommandBars in my CMDIChildWnd? I'll try now and report back.</DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>I can't. My class is derrived from CWnd - is there a solution at all for this, for example a Jock class derrived from CWnd with CommandBars() ?</DIV><DIV>&nbsp;</DIV><DIV>I can live without it but it would be very nice...</DIV>]]>
   </description>
   <pubDate>Fri, 15 Feb 2008 13:14:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9230&amp;PID=31234&amp;title=toolbar-tooltip-style#31234</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar Tooltip Style :   oleg wrote:Hi,  You need connect...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9230&amp;PID=31233&amp;title=toolbar-tooltip-style#31233</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 9230<br /><strong>Posted:</strong> 15 February 2008 at 1:05pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />Hi, <DIV>You need connect it to some CXTPCommandBars object. Serch SetCommandBars in forum.</DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>Sorry Oleg, I only just saw your reply. Could I use the CommandBars in my CMDIChildWnd? I'll try now and report back.</DIV>]]>
   </description>
   <pubDate>Fri, 15 Feb 2008 13:05:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9230&amp;PID=31233&amp;title=toolbar-tooltip-style#31233</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar Tooltip Style : Hi, You need connect it to some...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9230&amp;PID=29899&amp;title=toolbar-tooltip-style#29899</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9230<br /><strong>Posted:</strong> 06 January 2008 at 2:23pm<br /><br />Hi,<DIV>You need connect it to some CXTPCommandBars object. Serch SetCommandBars in forum.</DIV>]]>
   </description>
   <pubDate>Sun, 06 Jan 2008 14:23:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9230&amp;PID=29899&amp;title=toolbar-tooltip-style#29899</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar Tooltip Style : Hi,  I have a CXTPToolBar toolbar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9230&amp;PID=29897&amp;title=toolbar-tooltip-style#29897</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 9230<br /><strong>Posted:</strong> 06 January 2008 at 10:41am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I have a CXTPToolBar toolbar created as a child of a CWnd.</DIV><DIV>&nbsp;</DIV><DIV>How do I change the tooltip style to show title and description in balloon style? I guess this is a basic MFC question but I really can't think how to do this.</DIV><DIV>&nbsp;</DIV><DIV>Many thanks,</DIV><DIV>&nbsp;</DIV><DIV>Simon the stupid programmer</DIV>]]>
   </description>
   <pubDate>Sun, 06 Jan 2008 10:41:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9230&amp;PID=29897&amp;title=toolbar-tooltip-style#29897</guid>
  </item> 
 </channel>
</rss>