<?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 : HOWTO: Use CXTPGridControl::m_pImageManager XAML</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : HOWTO: Use CXTPGridControl::m_pImageManager XAML]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 30 Apr 2026 09:42:24 +0000</pubDate>
  <lastBuildDate>Sun, 10 Mar 2024 12:52:48 +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=24462</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[HOWTO: Use CXTPGridControl::m_pImageManager XAML : Hi;I just recognized that the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24462&amp;PID=78880&amp;title=howto-use-cxtpgridcontrolm-pimagemanager-xaml#78880</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 24462<br /><strong>Posted:</strong> 10 March 2024 at 12:52pm<br /><br /><div>Hi;</div><div><br></div><div>I just recognized that the CXTPGridControl internal image manager is not used in XAML for items/headers of the grid control.</div><div>I have to add all images to the global image manager.</div><div>This conflicts in several applications of our software suite because of duplicate image IDs that cannot be changed easily.</div><div><br></div><div>Therefore, how can we use the grids internal image manager in XAML code that is used exclusively in the grid(s).</div><div><br></div><div>As a simplified example within a CXTPGridControl derived class, this works<table width="99%"><tr><td><pre class="BBcode">&nbsp; uint32_t Images&#091;&#093; = { STATE_ARTICLEGROUP_ACTIVE, STATE_ARTICLEGROUP_INACTIVE };<br>&nbsp; VERIFY(XTPImageManager()-&gt;SetIcons(IDB_ARTICLEGROUP_IMAGES, Images, _countof(Images), CSize(16, 16)));</pre></td></tr></table></div><div>but this not<table width="99%"><tr><td><pre class="BBcode">&nbsp; uint32_t Images&#091;&#093; = { STATE_ARTICLEGROUP_ACTIVE, STATE_ARTICLEGROUP_INACTIVE };<br>&nbsp; VERIFY(GetImageManager()-&gt;SetIcons(IDB_ARTICLEGROUP_IMAGES, Images, _countof(Images), CSize(16, 16)));</pre></td></tr></table><br></div><div><br></div><div>TIA<br></div>]]>
   </description>
   <pubDate>Sun, 10 Mar 2024 12:52:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24462&amp;PID=78880&amp;title=howto-use-cxtpgridcontrolm-pimagemanager-xaml#78880</guid>
  </item> 
 </channel>
</rss>