<?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 : CXTPControlBitmap on MenuBar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CXTPControlBitmap on MenuBar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 11:56:24 +0000</pubDate>
  <lastBuildDate>Tue, 09 Feb 2010 06:17:37 +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=16158</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[CXTPControlBitmap on MenuBar : thanks a lot, that works great...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16158&amp;PID=56691&amp;title=cxtpcontrolbitmap-on-menubar#56691</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4454">crystyce</a><br /><strong>Subject:</strong> 16158<br /><strong>Posted:</strong> 09 February 2010 at 6:17am<br /><br />thanks a lot, that works great !]]>
   </description>
   <pubDate>Tue, 09 Feb 2010 06:17:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16158&amp;PID=56691&amp;title=cxtpcontrolbitmap-on-menubar#56691</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlBitmap on MenuBar : Hi, to load it - add bitmap with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16158&amp;PID=56686&amp;title=cxtpcontrolbitmap-on-menubar#56686</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 16158<br /><strong>Posted:</strong> 09 February 2010 at 2:41am<br /><br /><P>Hi,</P><DIV>to load it - add bitmap with IDB_LOGO to resources and line</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;UINT nCommands2&#091;&#093; = {IDB_LOGO};<BR>&nbsp;pCommandBars-&gt;GetImageManager()-&gt;SetIcons(IDB_LOGO, nCommands2, _countof(nCommands2), xtpImageNormal);<BR></DIV>]]>
   </description>
   <pubDate>Tue, 09 Feb 2010 02:41:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16158&amp;PID=56686&amp;title=cxtpcontrolbitmap-on-menubar#56686</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlBitmap on MenuBar : How can I make a CXTPControlBitmap...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16158&amp;PID=56656&amp;title=cxtpcontrolbitmap-on-menubar#56656</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4454">crystyce</a><br /><strong>Subject:</strong> 16158<br /><strong>Posted:</strong> 08 February 2010 at 11:46am<br /><br />How can I make a CXTPControlBitmap show up on a CXTPMenuBar?<br /><br />I tried this, but I have no ideea how to load the bitmap on the control. Any other method to show a bitmap on the menu bar would be fine too, except for the one using a ReBar.<br /><br />int CMainFrame::OnAfterCreateControl(LPCREATECONTROLSTRUCT lpCreateControl)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CXTPMenuBar* pMenuBar = DYNAMIC_DOWNCAST(CXTPMenuBar, lpCreateControl-&gt;pCommandBar);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (pMenuBar)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pMenuBar-&gt;SetOwner(this);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (lpCreateControl-&gt;strCaption == _T("&Help"))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CXTPControlBitmap* pLabel = new CXTPControlBitmap();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pMenuBar-&gt;GetControls()-&gt;Add(pLabel,IDB_LOGO);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pLabel-&gt;SetFlags(pLabel-&gt;GetFlags() | xtpFlagRightAlign);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return FALSE;]]>
   </description>
   <pubDate>Mon, 08 Feb 2010 11:46:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16158&amp;PID=56656&amp;title=cxtpcontrolbitmap-on-menubar#56656</guid>
  </item> 
 </channel>
</rss>