<?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 can&#146;t use BITMAPS?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CXTPToolBar can&#146;t use BITMAPS?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 05:12:17 +0000</pubDate>
  <lastBuildDate>Tue, 09 Mar 2004 04:34:39 +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=501</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 can&#146;t use BITMAPS? : You can call SetIcons(...) more...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=501&amp;PID=1267&amp;title=cxtptoolbar-cant-use-bitmaps#1267</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=150">Sven</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 09 March 2004 at 4:34am<br /><br />You can call SetIcons(...) more than once, for each button you like to add.]]>
   </description>
   <pubDate>Tue, 09 Mar 2004 04:34:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=501&amp;PID=1267&amp;title=cxtptoolbar-cant-use-bitmaps#1267</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar can&#146;t use BITMAPS? : Thanks Sven, but i can&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=501&amp;PID=1265&amp;title=cxtptoolbar-cant-use-bitmaps#1265</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=227">JoWi</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 09 March 2004 at 2:04am<br /><br /><P>Thanks Sven, but i can't get that to work either. COuld you give me an example ? The function you describe probably expects a CBitmap which contains&nbsp;images for ALL buttons, concatenated one after another, like a toolbar resource i guess. I need to set ONE bitmap for ONE particular button.</P><P>Let's say i want a toolbar with ONE button, and i only have a BITMAP for that button ( NO icon, NO Imagelist, NO resource usage or entries&nbsp;whatsoever) , how do i create the toolbar ?</P><P>Thanks</P>]]>
   </description>
   <pubDate>Tue, 09 Mar 2004 02:04:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=501&amp;PID=1265&amp;title=cxtptoolbar-cant-use-bitmaps#1265</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar can&#146;t use BITMAPS? : Use  BOOL CXTPImageManager::SetIcons(CBitmap&amp;amp;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=501&amp;PID=1261&amp;title=cxtptoolbar-cant-use-bitmaps#1261</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=150">Sven</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 08 March 2004 at 9:38am<br /><br /><P>Use </P><P>BOOL CXTPImageManager::SetIcons(CBitmap&amp; bmpIcons, UINT* pCommands, int nCount, CSize szIcon, XTPImageState imageState = xtpImageNormal, BOOL bAlpha = FALSE);</P>]]>
   </description>
   <pubDate>Mon, 08 Mar 2004 09:38:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=501&amp;PID=1261&amp;title=cxtptoolbar-cant-use-bitmaps#1261</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar can&#146;t use BITMAPS? : Hello, I need to dynamically...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=501&amp;PID=1259&amp;title=cxtptoolbar-cant-use-bitmaps#1259</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=227">JoWi</a><br /><strong>Subject:</strong> 501<br /><strong>Posted:</strong> 08 March 2004 at 4:45am<br /><br /><P>Hello,</P><P>I need to dynamically create a CXTPToolbar (8.61 suite) at runtime. I add controls using <BR><BR>CXTPControls* pControls = m_pSnapInToolBar-&gt;GetControls();&nbsp;<BR>CXTPControl* pControl = pControls-&gt;Add( xtpControlButton, nID );</P><P>where m_pSnapinToolbar is a CXTPToolbar and nID is the ID of the (corresponding menu) item(s). I also need to create images for the toolbar, the images will be provided by an external DLL as HBITMAP handles. The problem is that i cannot find a way to add my CBitmap images (which are 15x15 pixels) to the toolbar. I tried using the different formats of CImageManager-&gt;SetIcons(...) but i can't get any of them to work with bitmaps. When i use HICON's which are 32x32 it all seems to be ok, but i *must* use bitmaps. (Also&nbsp;icons of 16x16 size&nbsp;will not&nbsp;work)</P><P>So what i&nbsp;need is a way to add a CXTPControl to a toolbar, set it's ID, tooltip, description AND IMAGE using a bitmap.</P><P>Thanks, jowi</P>]]>
   </description>
   <pubDate>Mon, 08 Mar 2004 04:45:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=501&amp;PID=1259&amp;title=cxtptoolbar-cant-use-bitmaps#1259</guid>
  </item> 
 </channel>
</rss>