<?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 images ?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPControlComboBox with images ?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 06:48:00 +0000</pubDate>
  <lastBuildDate>Wed, 11 Feb 2009 15:40:38 +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=12549</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 images ? : Hi;Try this:  if (lpCreateControl-&amp;gt;nID...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12549&amp;PID=45349&amp;title=cxtpcontrolcombobox-with-images#45349</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 12549<br /><strong>Posted:</strong> 11 February 2009 at 3:40pm<br /><br />Hi;<br>Try this:<br><table width="99%"><tr><td><pre class="BBcode">&nbsp;&nbsp;&nbsp; if (lpCreateControl-&gt;nID == ID_RESULTS_TRANSACTIONTYPE)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lpCreateControl-&gt;pControl-&gt;SetWidth(250);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPControlComboBox* pCombo=reinterpret_cast&lt;CXTPControlComboBox*&gt;(lpCreateControl-&gt;pControl);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pCombo-&gt;SetListIconId(TransactionUnknown);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pCombo-&gt;SetDropDownListStyle(FALSE);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pCombo-&gt;SetFlags(xtpFlagLeftPopup);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pCombo-&gt;AddString(_T("Alle anzeigen"));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pCombo-&gt;AddString(_T("Produktionssätze"));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pCombo-&gt;AddString(_T("Verbrauchssätze"));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pCombo-&gt;AddString(_T("Stillstandssätze"));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pCombo-&gt;SetCurSel(0);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return;<br>&nbsp;&nbsp;&nbsp; }</pre></td></tr></table><br>]]>
   </description>
   <pubDate>Wed, 11 Feb 2009 15:40:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12549&amp;PID=45349&amp;title=cxtpcontrolcombobox-with-images#45349</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlComboBox with images ? : Hi,  Please tell me how did you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12549&amp;PID=44952&amp;title=cxtpcontrolcombobox-with-images#44952</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4911">foxars</a><br /><strong>Subject:</strong> 12549<br /><strong>Posted:</strong> 27 January 2009 at 7:59pm<br /><br />Hi,<br /><br />Please tell me how did you do with SetListIconId ??!!<br /><br />Thanks]]>
   </description>
   <pubDate>Tue, 27 Jan 2009 19:59:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12549&amp;PID=44952&amp;title=cxtpcontrolcombobox-with-images#44952</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlComboBox with images ? :  Hi;I solved it by myself. Using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12549&amp;PID=44837&amp;title=cxtpcontrolcombobox-with-images#44837</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 12549<br /><strong>Posted:</strong> 23 January 2009 at 9:31am<br /><br />Hi;<br><br>I solved it by myself. Using SetListIconId did it, but the order of calling SetListIconId and AddString is important!<br><br>BTW: if I set SetDropDownListStyle(FALSE), why is the icon of the selected listbox item not automatically set in the edit control? Should be improved! <img src="http://forum.codejock.com/smileys/smiley14.gif" border="0" align="absmiddle"><br>]]>
   </description>
   <pubDate>Fri, 23 Jan 2009 09:31:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12549&amp;PID=44837&amp;title=cxtpcontrolcombobox-with-images#44837</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlComboBox with images ? : Hello Bj&#246;rn;have you ever solved...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12549&amp;PID=44836&amp;title=cxtpcontrolcombobox-with-images#44836</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 12549<br /><strong>Posted:</strong> 23 January 2009 at 9:00am<br /><br />Hello Björn;<br><br>have you ever solved this;<br>otherwise does anyone know how to solve it?<br>]]>
   </description>
   <pubDate>Fri, 23 Jan 2009 09:00:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12549&amp;PID=44836&amp;title=cxtpcontrolcombobox-with-images#44836</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlComboBox with images ? : Hi,it still did not seem to work....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12549&amp;PID=43299&amp;title=cxtpcontrolcombobox-with-images#43299</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3807">lion</a><br /><strong>Subject:</strong> 12549<br /><strong>Posted:</strong> 01 December 2008 at 3:43am<br /><br />Hi,<br>it still did not seem to work. What could be wrong?<br>Cheers B<br>]]>
   </description>
   <pubDate>Mon, 01 Dec 2008 03:43:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12549&amp;PID=43299&amp;title=cxtpcontrolcombobox-with-images#43299</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlComboBox with images ? :   Hi,thanx for your help.i tried...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12549&amp;PID=42448&amp;title=cxtpcontrolcombobox-with-images#42448</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3807">lion</a><br /><strong>Subject:</strong> 12549<br /><strong>Posted:</strong> 29 October 2008 at 4:25am<br /><br />Hi,<br>thanx for your help.<br>i tried doing that in the ComandBarControls Example in the file MainFrm.cpp but it did not show any effect. I just inserted it after creating a new icon around line number 111:<br><font size="1" face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; CXTPToolBar* pToolBarCombo = pCommandBars-&gt;Add(_T("Combo"), xtpBarTop);<br>&nbsp;&nbsp;&nbsp; pToolBarCombo-&gt;SetBarID(IDR_MAINFRAME + 3);<br>&nbsp;&nbsp;&nbsp; pToolBarCombo-&gt;GetControls()-&gt;Add(xtpControlLabel, 0)-&gt;SetCaption(_T("CXTPControlComboBox:"));<br>&nbsp;&nbsp;&nbsp; pToolBarCombo-&gt;GetControls()-&gt;Add(xtpControlComboBox, ID_FILE_NEW);<br>&nbsp;&nbsp;&nbsp; CXTPControlComboBox* pControlCombo = (CXTPControlComboBox*)pToolBarCombo-&gt;GetControls()-&gt;Add(xtpControlComboBox, ID_FILE_NEW);<br>&nbsp;&nbsp;&nbsp; pControlCombo-&gt;AddString("asdf1");<br>&nbsp;&nbsp;&nbsp; pControlCombo-&gt;AddString("asdf2");<br>&nbsp;&nbsp;&nbsp; pControlCombo-&gt;AddString("asdf3");<br>&nbsp;&nbsp;&nbsp; pControlCombo-&gt;AddString("asdf4");<br>&nbsp;&nbsp;&nbsp; pControlCombo-&gt;SetDropDownListStyle();<br>&nbsp;&nbsp;&nbsp; DockRightOf(pToolBarCombo, pToolBarPopups);<br><br>&nbsp;&nbsp;&nbsp; <b><font color="#ff0000">pControlCombo-&gt;SetListIconId(IDI_ICON1);<br><br>and pControlCombo-&gt;IsImageVisible(); returns false.<br></font></b><font face="Arial, Helvetica, sans-serif"><br><font size="2">the thing I want to achieve is that I have an Icon/Image per Item in the list:<br><img src="uploads/20081029_042313_Unbenannt1.jpg" height="236" width="175" border="0"><br><br>we have several such controls to choose patterns etc.<br>how do i do this with an CXTPControlComboBox ?<br><br>I would appreciate your help very much.<br>Thanx.<br><br>Cheers Björn </font><br></font></font><br>]]>
   </description>
   <pubDate>Wed, 29 Oct 2008 04:25:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12549&amp;PID=42448&amp;title=cxtpcontrolcombobox-with-images#42448</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlComboBox with images ? : Hi,  You need SetListIconId...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12549&amp;PID=42425&amp;title=cxtpcontrolcombobox-with-images#42425</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12549<br /><strong>Posted:</strong> 28 October 2008 at 10:59am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>You need SetListIconId method.</DIV>]]>
   </description>
   <pubDate>Tue, 28 Oct 2008 10:59:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12549&amp;PID=42425&amp;title=cxtpcontrolcombobox-with-images#42425</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlComboBox with images ? : Hiis there a ComboBox that supports...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12549&amp;PID=42418&amp;title=cxtpcontrolcombobox-with-images#42418</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3807">lion</a><br /><strong>Subject:</strong> 12549<br /><strong>Posted:</strong> 28 October 2008 at 6:06am<br /><br />Hi<br>is there a ComboBox that supports icons for every entry ?<br>cu B<br>]]>
   </description>
   <pubDate>Tue, 28 Oct 2008 06:06:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12549&amp;PID=42418&amp;title=cxtpcontrolcombobox-with-images#42418</guid>
  </item> 
 </channel>
</rss>