<?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 : CXTPControlComboBox with icons</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CXTPControlComboBox with icons]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 27 May 2026 18:28:52 +0000</pubDate>
  <lastBuildDate>Thu, 17 Sep 2009 06:18:00 +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=13344</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[CXTPControlComboBox with icons : Hellow apple,Next example demonstrate...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=53147&amp;title=cxtpcontrolcombobox-with-icons#53147</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3850">SunIron</a><br /><strong>Subject:</strong> 13344<br /><strong>Posted:</strong> 17 September 2009 at 6:18am<br /><br />Hellow apple,<br><br>Next example demonstrate how to use SetListIconId().<br><br>CXTPToolBar* pToolBarCombo = pCommandBars-&gt;Add(_T("Combo"), xtpBarTop);<br>&nbsp;&nbsp;&nbsp; pToolBarCombo-&gt;SetBarID(IDR_MAINFRAME + 3);<br>&nbsp;&nbsp;&nbsp; pToolBarCombo-&gt;GetImageManager()-&gt;SetImageList(IDR_MAINFRAME, 16); &nbsp; &nbsp; // set command bar image list <br>&nbsp;&nbsp;&nbsp; CXTPControlComboBox* pControlCombo = (CXTPControlComboBox*)pToolBarCombo-&gt;GetControls()-&gt;Add(xtpControlComboBox, ID_FILE_NEW);<br>&nbsp;&nbsp;&nbsp; pControlCombo-&gt;SetListIconId(0);&nbsp;&nbsp;&nbsp;&nbsp; // set icon index for edit<br>&nbsp;&nbsp;&nbsp; pControlCombo-&gt;SetEditIconId(1);&nbsp;&nbsp;&nbsp;&nbsp; // set icon index for list box<br>&nbsp;&nbsp;&nbsp; pControlCombo-&gt;AddString(_T("Combo"));<br>&nbsp;&nbsp;&nbsp; DockRightOf(pToolBarCombo, pToolBarPopups);<br><br>Result:<br>&nbsp;&nbsp;&nbsp; <img src="uploads/20090917_061655_cmdbar.gif" height="84" width="309" border="0">]]>
   </description>
   <pubDate>Thu, 17 Sep 2009 06:18:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=53147&amp;title=cxtpcontrolcombobox-with-icons#53147</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlComboBox with icons : Hi Oleg,   That&amp;#039;s what...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=51052&amp;title=cxtpcontrolcombobox-with-icons#51052</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4289">fjosesen</a><br /><strong>Subject:</strong> 13344<br /><strong>Posted:</strong> 17 July 2009 at 8:45am<br /><br /><DIV>Hi Oleg,</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; That's what I was doing, but it didn't worked. I've realized that the toolbars cache was destructing my control and recreating the original CXTPControlComboBox control. I've deleted the cache file and now it works.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Thank you,</DIV><DIV>&nbsp;</DIV><DIV>Jose</DIV>]]>
   </description>
   <pubDate>Fri, 17 Jul 2009 08:45:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=51052&amp;title=cxtpcontrolcombobox-with-icons#51052</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlComboBox with icons : Hi, If you don&amp;#039;t like standard...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=51039&amp;title=cxtpcontrolcombobox-with-icons#51039</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13344<br /><strong>Posted:</strong> 17 July 2009 at 1:21am<br /><br /><P>Hi,</P><DIV>If you don't like standard SetListIconId method, you can override CXTPControlComboBox::DrawItem and draw item manually. See how original method works.</DIV>]]>
   </description>
   <pubDate>Fri, 17 Jul 2009 01:21:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=51039&amp;title=cxtpcontrolcombobox-with-icons#51039</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlComboBox with icons : Hi, anyone? Any idea? Will any...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=51011&amp;title=cxtpcontrolcombobox-with-icons#51011</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4289">fjosesen</a><br /><strong>Subject:</strong> 13344<br /><strong>Posted:</strong> 16 July 2009 at 9:26am<br /><br />&nbsp;&nbsp;&nbsp; Hi, anyone? Any idea? Will any support member answer this question? Any day? Any time?<DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Regards,</DIV><DIV>&nbsp;</DIV><DIV>Jose</DIV>]]>
   </description>
   <pubDate>Thu, 16 Jul 2009 09:26:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=51011&amp;title=cxtpcontrolcombobox-with-icons#51011</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlComboBox with icons : Hi Oleg,   I&amp;#039;m runningthe...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=50190&amp;title=cxtpcontrolcombobox-with-icons#50190</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4289">fjosesen</a><br /><strong>Subject:</strong> 13344<br /><strong>Posted:</strong> 22 June 2009 at 6:54am<br /><br />Hi Oleg,<DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; I'm running&nbsp;the same situation. I'm feeding a <FONT size=2>CXTPControlComboBox with a dynamic set of elements. Some of them needs a blank icon and another ones need a shared icon. How can I set different images to them (remember that it is a dynamic set of elements)?</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; Thanks in advance,</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Jose</FONT></DIV>]]>
   </description>
   <pubDate>Mon, 22 Jun 2009 06:54:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=50190&amp;title=cxtpcontrolcombobox-with-icons#50190</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlComboBox with icons : I&amp;#039;m running into situation...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=48480&amp;title=cxtpcontrolcombobox-with-icons#48480</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4893">YMHiK</a><br /><strong>Subject:</strong> 13344<br /><strong>Posted:</strong> 29 April 2009 at 3:34pm<br /><br />I'm running into situation when I have dynamic number of items in combo box ranging from 1 to 300 or more. Each item has its own icon so in this case I cannot use array of preset images.<br><br>Is there any way to apply icon to each item when populating combo box?]]>
   </description>
   <pubDate>Wed, 29 Apr 2009 15:34:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=48480&amp;title=cxtpcontrolcombobox-with-icons#48480</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlComboBox with icons : Once again. to set icons for each...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=45582&amp;title=cxtpcontrolcombobox-with-icons#45582</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13344<br /><strong>Posted:</strong> 18 February 2009 at 1:31am<br /><br />Once again. to set icons for each item you need create array of images like (1000, 1001, 1002, 1003) <DIV>Now you call SetListIconId(1000) and first item will use image 1000, second 1001, etc.</DIV>]]>
   </description>
   <pubDate>Wed, 18 Feb 2009 01:31:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=45582&amp;title=cxtpcontrolcombobox-with-icons#45582</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlComboBox with icons : Who knows how to use the SetListIconId()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=45477&amp;title=cxtpcontrolcombobox-with-icons#45477</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4133">apple</a><br /><strong>Subject:</strong> 13344<br /><strong>Posted:</strong> 15 February 2009 at 8:40pm<br /><br />Who knows how to use the SetListIconId() of CXTPControlComboBox???? ]]>
   </description>
   <pubDate>Sun, 15 Feb 2009 20:40:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=45477&amp;title=cxtpcontrolcombobox-with-icons#45477</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlComboBox with icons : Hi,oleg: I don&amp;#039;t understand...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=45401&amp;title=cxtpcontrolcombobox-with-icons#45401</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4133">apple</a><br /><strong>Subject:</strong> 13344<br /><strong>Posted:</strong> 13 February 2009 at 2:09am<br /><br />Hi,<a href="member_profile.asp?PF=37&amp;FID=117" target="_blank">oleg</a>:<br>&nbsp;&nbsp;&nbsp;&nbsp; I don't understand your meaning about SetListIconId(). how can I relate with AddString() using SetListIconId()? Can you tell me in details.<br>thanks very much<br>]]>
   </description>
   <pubDate>Fri, 13 Feb 2009 02:09:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=45401&amp;title=cxtpcontrolcombobox-with-icons#45401</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlComboBox with icons : Hi,  SetListIconId is first...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=45169&amp;title=cxtpcontrolcombobox-with-icons#45169</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13344<br /><strong>Posted:</strong> 06 February 2009 at 2:47am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>SetListIconId is first icon id of first list item. Second item will have SetListIconId+1 id etc.</DIV>]]>
   </description>
   <pubDate>Fri, 06 Feb 2009 02:47:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13344&amp;PID=45169&amp;title=cxtpcontrolcombobox-with-icons#45169</guid>
  </item> 
 </channel>
</rss>