<?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 Vs. CXTOutBarCtrl</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Task Panel : TaskPanel Vs. CXTOutBarCtrl]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 08:17:18 +0000</pubDate>
  <lastBuildDate>Wed, 12 Sep 2007 09:12:04 +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=7891</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 Vs. CXTOutBarCtrl : Right :) ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25743&amp;title=taskpanel-vs-cxtoutbarctrl#25743</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7891<br /><strong>Posted:</strong> 12 September 2007 at 9:12am<br /><br />Right :)]]>
   </description>
   <pubDate>Wed, 12 Sep 2007 09:12:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25743&amp;title=taskpanel-vs-cxtoutbarctrl#25743</guid>
  </item> 
  <item>
   <title><![CDATA[TaskPanel Vs. CXTOutBarCtrl : Oleg,Problem is solved:CXTPTaskPanelGroupItem*...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25737&amp;title=taskpanel-vs-cxtoutbarctrl#25737</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2333">amitb</a><br /><strong>Subject:</strong> 7891<br /><strong>Posted:</strong> 12 September 2007 at 6:41am<br /><br />Oleg,<br>Problem is solved:<br><br>CXTPTaskPanelGroupItem* pItem = (CXTPTaskPanelGroupItem*)lParam;<br>iHitItem = pItem-&gt;GetIconIndex();<br><br><img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" align="absmiddle"><img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" align="absmiddle"><img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" align="absmiddle"><br><img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" align="absmiddle">]]>
   </description>
   <pubDate>Wed, 12 Sep 2007 06:41:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25737&amp;title=taskpanel-vs-cxtoutbarctrl#25737</guid>
  </item> 
  <item>
   <title><![CDATA[TaskPanel Vs. CXTOutBarCtrl : Thank you OlegThis worked perfectly.....Now...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25733&amp;title=taskpanel-vs-cxtoutbarctrl#25733</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2333">amitb</a><br /><strong>Subject:</strong> 7891<br /><strong>Posted:</strong> 12 September 2007 at 6:14am<br /><br />Thank you Oleg<br><img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" align="absmiddle"><br><br>This worked perfectly.....<br><br>Now can you please help me on the following:<br><br>In my old code i was using:<br><font color="#3300ff" face="Courier New, Courier, mono">LRESULT CMyClass::OnOutbarNotify(WPARAM wParam, LPARAM lParam)<br>{<br><br>XT_OUTBAR_INFO* pOBInfo = (XT_OUTBAR_INFO*)lParam;<br>int iHitItem = pOBInfo-&gt;nIndex;<br>}</font><br><br>Now in new code i have:<br><br><font color="#3333cc" face="Courier New, Courier, mono">LRESULT CMyClass::OnTaskPanelNotify(WPARAM wParam, LPARAM lParam)<br>{<br>&nbsp;&nbsp; /* how do i get the index info in lParam ???? */<br>}</font><font face="Courier New, Courier, mono"><br></font><br>]]>
   </description>
   <pubDate>Wed, 12 Sep 2007 06:14:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25733&amp;title=taskpanel-vs-cxtoutbarctrl#25733</guid>
  </item> 
  <item>
   <title><![CDATA[TaskPanel Vs. CXTOutBarCtrl : Hi, Think you didn&amp;#039;t set...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25639&amp;title=taskpanel-vs-cxtoutbarctrl#25639</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7891<br /><strong>Posted:</strong> 07 September 2007 at 10:41am<br /><br /><DIV>Hi,</DIV><DIV>Think you didn't set IconIndex for Items. its second parameter in AddLinkItem.</DIV>]]>
   </description>
   <pubDate>Fri, 07 Sep 2007 10:41:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25639&amp;title=taskpanel-vs-cxtoutbarctrl#25639</guid>
  </item> 
  <item>
   <title><![CDATA[TaskPanel Vs. CXTOutBarCtrl : Oleg,I tried it by just saying...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25633&amp;title=taskpanel-vs-cxtoutbarctrl#25633</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2333">amitb</a><br /><strong>Subject:</strong> 7891<br /><strong>Posted:</strong> 07 September 2007 at 8:54am<br /><br />Oleg,<br>I tried it by just saying:<br><br><font color="#0033ff">m_wndTaskPanel.SetImageList(m_pimlNormal,CSize(32, 32)); </font><br><br>But no effect...<br><br>Am i missing on something in this ??? Like do i need to enable the task panel or something like this....<br><br>Secondly i also checked the code from :<br><font color="#0033ff">BOOL CItemTreeView::InitilalizeTreeControl()</font><br><br>But here the icons, icon strings , are present in the resources....<br><br>In my case i am loading them from a file....<br><br>thats the reason in my call to :<br><font color="#0033ff">pBarFolder-&gt;InsertItem(i,CoreViewTable&#091;viewid&#093;.szViewLabel, m_pIconId<em>, viewid);</font><br><br>i am specifying the Label (name for icon) + ID of icon....<br><br>]]>
   </description>
   <pubDate>Fri, 07 Sep 2007 08:54:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25633&amp;title=taskpanel-vs-cxtoutbarctrl#25633</guid>
  </item> 
  <item>
   <title><![CDATA[TaskPanel Vs. CXTOutBarCtrl : Do you convert HICON to UINT*?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25631&amp;title=taskpanel-vs-cxtoutbarctrl#25631</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7891<br /><strong>Posted:</strong> 07 September 2007 at 8:14am<br /><br /><P>Do you convert HICON to UINT*? </P><DIV>&nbsp;</DIV><DIV>Actually instead 2 last lines just try</DIV><P><EM><FONT face="Courier New" color=#0033ff>m_wndTaskPanel.SetImageList(m_pimlNormal, CSize(32, 32));</FONT></EM></P><P>or better see Samples\UserInterface\GUI_Outlook&nbsp; and its BOOL CMainFrame::InitializeOutlookBar() it shows how to add images from icons.<BR></P><DIV><BR></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 07 Sep 2007 08:14:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25631&amp;title=taskpanel-vs-cxtoutbarctrl#25631</guid>
  </item> 
  <item>
   <title><![CDATA[TaskPanel Vs. CXTOutBarCtrl : Thanks Oleg,I was able to call...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25630&amp;title=taskpanel-vs-cxtoutbarctrl#25630</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2333">amitb</a><br /><strong>Subject:</strong> 7891<br /><strong>Posted:</strong> 07 September 2007 at 7:50am<br /><br />Thanks Oleg,<br>I was able to call that function. But still not able to see the image:<br><br>See, my old code is something like<br><font color="#0033ff" face="Courier New, Courier, mono">/* OLD CODE */<br>hNorm = (HICON)::LoadImage(hinst, MAKEINTRESOURCE(iconid),IMAGE_ICON, 32, 32, LR_LOADMAP3DCOLORS);<br>m_pIconId<em> = m_pimlNormal-&gt;Add( hNorm );<br>.<br>.<br>.<br><br>pBarFolder-&gt;SetLargeImageList( m_pimlNormal );<br>pBarFolder-&gt;InsertItem(i,CoreViewTable&#091;viewid&#093;.szViewLabel, m_pIconId<em>, viewid)</font><font face="Courier New, Courier, mono"><br></font><br>Now i want to achieve the same thing using a taskpanel so the new code is :<br><br><font face="Courier New, Courier, mono">/</font><font color="#0033ff" face="Courier New, Courier, mono">* NEW CODE */<br>hNorm = (HICON)::LoadImage(hinst, MAKEINTRESOURCE(iconid), IMAGE_ICON, 32, 32, LR_LOADMAP3DCOLORS);<br>m_pIconId<em> = m_pimlNormal-&gt;Add( hNorm );<br>.<br>.<br>.<br>m_wndTaskPanel.SetImageList(m_pimlNormal,OBS_XT_LARGEICON);<br>result = m_wndTaskPanel.GetImageManager()-&gt;SetIcons(*m_pimlNormal,(UINT*)m_pIconId,5,CSize(32,32));</font><font face="Courier New, Courier, mono"><br></font><br>where <font color="#0033ff" face="Courier New, Courier, mono">m_pimlNormal is a CImageList *<br><br></font>But it is not showing me any image on the taskpanel...<br>what could be wrong in this ????<br><br>Please help :)<br>]]>
   </description>
   <pubDate>Fri, 07 Sep 2007 07:50:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25630&amp;title=taskpanel-vs-cxtoutbarctrl#25630</guid>
  </item> 
  <item>
   <title><![CDATA[TaskPanel Vs. CXTOutBarCtrl : Hi, Guess problem in m_pIconId....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25623&amp;title=taskpanel-vs-cxtoutbarctrl#25623</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7891<br /><strong>Posted:</strong> 07 September 2007 at 2:01am<br /><br /><DIV>Hi,</DIV><DIV>Guess problem in m_pIconId. it muse be UINT pointer</DIV>]]>
   </description>
   <pubDate>Fri, 07 Sep 2007 02:01:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25623&amp;title=taskpanel-vs-cxtoutbarctrl#25623</guid>
  </item> 
  <item>
   <title><![CDATA[TaskPanel Vs. CXTOutBarCtrl : m_wndOutlookBar.GetImageManager()-&amp;gt;SetIcons(...);Syntax...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25603&amp;title=taskpanel-vs-cxtoutbarctrl#25603</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2333">amitb</a><br /><strong>Subject:</strong> 7891<br /><strong>Posted:</strong> 06 September 2007 at 6:41am<br /><br /><br>m_wndOutlookBar.GetImageManager()-&gt;SetIcons(...);<br><br>Syntax (using CImageList) shows:<br> <a href="CXTPImageManager__SetIc&#111;ns@UINT@XTPImageState.html" target="_blank">BOOL SetIcons(    CImageList&amp; imlIcons,     UINT* pCommands,     <strong>int</strong> nCount,     CSize szIcon,     XTPImageState imageState = xtpImageNormal);</a><br><br>But when i call it using:<br><br>m_wndTaskPanel.GetImageManager()-&gt;SetIcons(m_Normal_List,m_pIconId,3,CSize(32,32));<br><br>It gives me error as :<br><font color="#ff0000"><b>cannot convert parameter 1 from 'class CImageList ' to 'class CBitmap &amp;'</b></font><br><br>Why should this error come....when the decl of m_Normal_List is:<br><br><font color="#0000ff">CImageList m_Normal_List;</font><br><br><br><br>]]>
   </description>
   <pubDate>Thu, 06 Sep 2007 06:41:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25603&amp;title=taskpanel-vs-cxtoutbarctrl#25603</guid>
  </item> 
  <item>
   <title><![CDATA[TaskPanel Vs. CXTOutBarCtrl : Hello,  Call m_wndOutlookBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25505&amp;title=taskpanel-vs-cxtoutbarctrl#25505</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7891<br /><strong>Posted:</strong> 03 September 2007 at 7:16am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Call m_wndOutlookBar.GetImageManager()-&gt;SetIcons(...);</DIV>]]>
   </description>
   <pubDate>Mon, 03 Sep 2007 07:16:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7891&amp;PID=25505&amp;title=taskpanel-vs-cxtoutbarctrl#25505</guid>
  </item> 
 </channel>
</rss>