<?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 : taskpanel group icons</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : taskpanel group icons]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 08:28:18 +0000</pubDate>
  <lastBuildDate>Wed, 31 Dec 2008 04:38:47 +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=12719</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[taskpanel group icons : Well I didn&amp;#039;t know that the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=44052&amp;title=taskpanel-group-icons#44052</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3171">evoX</a><br /><strong>Subject:</strong> 12719<br /><strong>Posted:</strong> 31 December 2008 at 4:38am<br /><br /><DIV>Well I didn't know that the nIDCommand parameter of the SetIcon is actually the icon index...</DIV><DIV>It works now with SetIcon :)</DIV><DIV>&nbsp;</DIV><DIV>Thank you very much for your support Oleg !</DIV><DIV>And I wish you a Happy New Year ! <img src="https://forum.codejock.com/smileys/smiley20.gif" border="0"></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 31 Dec 2008 04:38:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=44052&amp;title=taskpanel-group-icons#44052</guid>
  </item> 
  <item>
   <title><![CDATA[taskpanel group icons : Why have to be 3 ;) ?  Actaully...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=44045&amp;title=taskpanel-group-icons#44045</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12719<br /><strong>Posted:</strong> 31 December 2008 at 2:14am<br /><br />Why have to be 3 ;) ?<DIV>&nbsp;</DIV><DIV>Actaully I don't recommend use <FONT size=2>AddCustomIcon - its for CommandBars only. use standard SetIcon<BR></FONT></DIV><DIV><FONT size=2>GetImageManager()-&gt;SetIcon(IDI_FOLDER_CLEANER, 3);</DIV></FONT>]]>
   </description>
   <pubDate>Wed, 31 Dec 2008 02:14:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=44045&amp;title=taskpanel-group-icons#44045</guid>
  </item> 
  <item>
   <title><![CDATA[taskpanel group icons : Well I did this and now it works...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=44040&amp;title=taskpanel-group-icons#44040</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3171">evoX</a><br /><strong>Subject:</strong> 12719<br /><strong>Posted:</strong> 30 December 2008 at 8:05pm<br /><br />Well I did this and now it works <img src="https://forum.codejock.com/smileys/smiley1.gif" border="0"><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>pGroup1-&gt;SetIconIndex(GetImageManager()-&gt;AddCustomIcon(AfxGetApp()-&gt;LoadIconW(IDI_FOLDER_CLEANER)));</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2><strong>very strange ! the new added icon index is 68267 !! why not 3 ?</strong></DIV></FONT>]]>
   </description>
   <pubDate>Tue, 30 Dec 2008 20:05:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=44040&amp;title=taskpanel-group-icons#44040</guid>
  </item> 
  <item>
   <title><![CDATA[taskpanel group icons : Hi,  Now it makes the group icon...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=44039&amp;title=taskpanel-group-icons#44039</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3171">evoX</a><br /><strong>Subject:</strong> 12719<br /><strong>Posted:</strong> 30 December 2008 at 7:52pm<br /><br />Hi, <DIV></DIV>&nbsp;&nbsp;Now it makes the group icon correctly 24,24 but it takes the icon from IDB_TASKPANEL_MAIN instead of the new custom added icon... and if I set the icon to 3 then the icon is not displayed at all. <DIV>&nbsp;</DIV><DIV>SetIconSize(CSize(48, 48));<BR>SetGroupIconSize(CSize(24,24));</DIV><DIV>SetFont(pFont);</DIV><DIV>CXTPTaskPanelGroup* pGroup1 = AddGroup(ID_TASKGROUP_FILEDISK,<strong>3</strong>); <FONT color=#000099>//&nbsp;If I set this to 3 the icon is not displayed and if I set it to 1 then it gets the icon from&nbsp;IDB_TASKPANEL_MAIN instead of the new custom added icon</FONT><BR>&nbsp;<BR>GetImageManager()-&gt;SetIcons(IDB_TASKPANEL_MAIN, 0, 0, CSize(48,48)); <FONT color=#0000cc>// taskpanel item icons, contains 3 icons<BR></FONT><strong>GetImageManager()-&gt;AddCustomIcon(AfxGetApp()-&gt;LoadIconW(IDI_FOLDER_FILEDISK));</strong> <FONT color=#0000cc>// the 24,24 group icon (this should be on index 3 right?</FONT></DIV>]]>
   </description>
   <pubDate>Tue, 30 Dec 2008 19:52:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=44039&amp;title=taskpanel-group-icons#44039</guid>
  </item> 
  <item>
   <title><![CDATA[taskpanel group icons : Hi,  First add  SetGroupIconSize(CSize(24,24));  and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=44013&amp;title=taskpanel-group-icons#44013</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12719<br /><strong>Posted:</strong> 30 December 2008 at 12:52am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>First add</DIV><DIV>&nbsp;</DIV><DIV>SetGroupIconSize(CSize(24,24));</DIV><DIV>&nbsp;</DIV><DIV>and set IconIndex for Groups<BR><P>CXTPTaskPanelGroup* pGroup1 = AddGroup(ID_TASKGROUP_FILEDISK<strong>, 1</strong>);</P></DIV>]]>
   </description>
   <pubDate>Tue, 30 Dec 2008 00:52:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=44013&amp;title=taskpanel-group-icons#44013</guid>
  </item> 
  <item>
   <title><![CDATA[taskpanel group icons : Hi,   I have tried AddCustomIcon,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=43977&amp;title=taskpanel-group-icons#43977</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3171">evoX</a><br /><strong>Subject:</strong> 12719<br /><strong>Posted:</strong> 29 December 2008 at 3:54am<br /><br />Hi, <DIV>&nbsp;&nbsp; I have tried AddCustomIcon, but it did not work, here is the code for the task panel icons</DIV><DIV>&nbsp;</DIV><FONT size=2><P>SetIconSize(CSize(48, 48));</P><P>SetFont(pFont);</P><P>CXTPTaskPanelGroup* pGroup1 = AddGroup(ID_TASKGROUP_FILEDISK);</P><P></P><P>CXTPTaskPanelGroup* pGroup2 = AddGroup(ID_TASKGROUP_REGISTRY);</P><P>CXTPTaskPanelGroup* pGroup3 = AddGroup(ID_TASKGROUP_INTERNET); </P><P>CXTPTaskPanelGroup* pGroup4 = AddGroup(ID_TASKGROUP_SPYWARE);</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>for</FONT></FONT><FONT size=2> (</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>int</FONT></FONT><FONT size=2> i = 0; i &lt; m_pSheet-&gt;GetPageCount(); i++)</P><P>{</P><P>CXTPPropertyPage* pPage = m_pSheet-&gt;GetPage(i);</P><P>CString strCaption = pPage-&gt;GetCaption();</P><P>CXTPTaskPanelGroupItem* pItem = pGroup1-&gt;AddLinkItem(i, i);</P><P>pItem-&gt;SetCaption(strCaption);</P><P>pItem-&gt;SetItemData((DWORD_PTR)pPage);</P><P>pPage-&gt;m_dwData = (DWORD_PTR)pItem;</P><P>}</P><P></P><P></P><P>GetImageManager()-&gt;SetIcons(IDB_TASKPANEL_MAIN, 0, 0, CSize(48,48));</P><DIV></DIV><P>&nbsp;</P><P>The IDB_TASKPANEL_MAIN is a PNG with 2 48x48 icons</P><DIV></DIV>how can I add the 24x24 group Icons? I have them in .ICO format</FONT> <DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV>Thanks !]]>
   </description>
   <pubDate>Mon, 29 Dec 2008 03:54:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=43977&amp;title=taskpanel-group-icons#43977</guid>
  </item> 
  <item>
   <title><![CDATA[taskpanel group icons : Hi, Just try add. ImageManager...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=43971&amp;title=taskpanel-group-icons#43971</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12719<br /><strong>Posted:</strong> 29 December 2008 at 3:12am<br /><br />Hi,<DIV>Just try add. ImageManager supports multiple formats for same Id.</DIV>]]>
   </description>
   <pubDate>Mon, 29 Dec 2008 03:12:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=43971&amp;title=taskpanel-group-icons#43971</guid>
  </item> 
  <item>
   <title><![CDATA[taskpanel group icons : It seems that the group icons...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=43969&amp;title=taskpanel-group-icons#43969</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3171">evoX</a><br /><strong>Subject:</strong> 12719<br /><strong>Posted:</strong> 29 December 2008 at 12:20am<br /><br /><P>It seems that the group icons share the same iconlist as the items, which is not very smart.</P><DIV>If I have 48x48 pixels icons in the taskpanel items, how can I add 24x24 icons to groups?</DIV><DIV>&nbsp;</DIV><DIV>Thanks !</DIV>]]>
   </description>
   <pubDate>Mon, 29 Dec 2008 00:20:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=43969&amp;title=taskpanel-group-icons#43969</guid>
  </item> 
  <item>
   <title><![CDATA[taskpanel group icons : I have tried with pGroup1-&amp;gt;SetIconIndex(IDI_ICON); but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=43011&amp;title=taskpanel-group-icons#43011</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4730">mat25</a><br /><strong>Subject:</strong> 12719<br /><strong>Posted:</strong> 20 November 2008 at 4:45am<br /><br />I have tried with pGroup1-&gt;SetIconIndex(IDI_ICON);<DIV>but the icon is not displayed, can be a problem that I use office 2007 theme ? also the icon is 32bit 32x32</DIV>]]>
   </description>
   <pubDate>Thu, 20 Nov 2008 04:45:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=43011&amp;title=taskpanel-group-icons#43011</guid>
  </item> 
  <item>
   <title><![CDATA[taskpanel group icons : Hi, Samples\TaskPanel\TaskPanel...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=42965&amp;title=taskpanel-group-icons#42965</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12719<br /><strong>Posted:</strong> 19 November 2008 at 5:25am<br /><br />Hi,<DIV>Samples\TaskPanel\TaskPanel&nbsp; sample has icon in group header.</DIV>]]>
   </description>
   <pubDate>Wed, 19 Nov 2008 05:25:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12719&amp;PID=42965&amp;title=taskpanel-group-icons#42965</guid>
  </item> 
 </channel>
</rss>