<?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 : CXTPPropertySheet bitmap</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPPropertySheet bitmap]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 21:36:09 +0000</pubDate>
  <lastBuildDate>Wed, 02 Dec 2015 11:53:32 +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=22807</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[CXTPPropertySheet bitmap : OK...so after some hacking...we...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22807&amp;PID=74164&amp;title=cxtppropertysheet-bitmap#74164</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8955">guiuser1</a><br /><strong>Subject:</strong> 22807<br /><strong>Posted:</strong> 02 December 2015 at 11:53am<br /><br />OK...so after some hacking...we figured it out.&nbsp; We still feel this should be an inherent part of the PropertySheets but at least we have it working.<br><br>Here's a code snippet from the PropertySheets Example (unrefined):<br><br>class CCategoriesTreeNavigator : public CXTPPropertyPageTreeNavigator<br>{<br>public:<br><br>&nbsp;&nbsp;&nbsp; CImageList&nbsp; m_imageList;<br><br>&nbsp;&nbsp;&nbsp; CCategoriesTreeNavigator()<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; : CXTPPropertyPageTreeNavigator(TVS_SHOWSELALWAYS | TVS_TRACKSELECT | TVS_HASBUTTONS | TVS_HASLINES | TVS_LINESATROOT)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; BOOL CreateTree()<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ASSERT(m_pSheet-&gt;GetPageCount() == 2);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (m_pSheet-&gt;GetPageCount() != 2)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return FALSE;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CBitmap bitmap;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bitmap.LoadBitmap(IDI_PRINTER);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_imageList.Create(24, 24, ILC_COLOR24|ILC_MASK, 2, 1);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_imageList.Add(&amp;bitmap, RGB(255,0,255));<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SetImageList(&amp;m_imageList, TVSIL_NORMAL);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; HTREEITEM hItemGeneral = InsertItem(_T("General"), 0, 0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; HTREEITEM hItemOptions = InsertItem(_T("Options"), 1, 1);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>CTreeCtrl is a bit of pain to work with...we tried various other ways to plug in the image which only resulted in the 'blank' space where the image would appear but at least it showed that the control was trying to display something.<br><br>The TreeCtrl example hinted at what need to be done...<br><br>]]>
   </description>
   <pubDate>Wed, 02 Dec 2015 11:53:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22807&amp;PID=74164&amp;title=cxtppropertysheet-bitmap#74164</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertySheet bitmap : We&amp;#039;re looking at using the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22807&amp;PID=74157&amp;title=cxtppropertysheet-bitmap#74157</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8955">guiuser1</a><br /><strong>Subject:</strong> 22807<br /><strong>Posted:</strong> 01 December 2015 at 4:05pm<br /><br />We're looking at using the CXTPPropertySheet for our app settings.&nbsp; We something similar to the <br>example&nbsp; under&nbsp; \PropertySheet\ specifically like the <br><br>CXTPPropertySheet ps(_T("CXTPPropertyPageTreeNavigator Sample"));&nbsp; <br><br>We currently have a custom set of classes that manage this and inherently use the CPropertyPage classes and display images for each property page via the m_psp. Works great....<br><br>We're trying to retain this functionality and port our existing code to the ToolKit Pro CXTPPropertySheet classes....but can't find anyway to retain the images for each page.<br><br>It should be similar to:<br><br>&nbsp; pageProperties.m_psp.dwFlags |= ( PSP_USEHICON );<br>&nbsp; HICON hIconTab = AfxGetApp()-&gt;LoadIcon( IDI_PRINTER );<br>&nbsp; pageProperties.m_psp.hIcon = hIconTab;<br><br>But ToolKitPro ignores the m_psp with respect to image displays...and thus does not display it.&nbsp; <br><br>Has anybody touched this area?<br>Not sure why this is not a standard method...seems like many apps require this type of support.<br><br>]]>
   </description>
   <pubDate>Tue, 01 Dec 2015 16:05:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22807&amp;PID=74157&amp;title=cxtppropertysheet-bitmap#74157</guid>
  </item> 
 </channel>
</rss>