<?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 : Designer  &amp;  Programatically filling ComboBoxs</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Designer  &amp;  Programatically filling ComboBoxs]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 17:38:38 +0000</pubDate>
  <lastBuildDate>Wed, 22 Aug 2007 13:08:11 +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=7847</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[Designer  &amp;  Programatically filling ComboBoxs : OK, That did it. Thanks for your...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7847&amp;PID=25331&amp;title=designer-programatically-filling-comboboxs#25331</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3243">DigiDog</a><br /><strong>Subject:</strong> 7847<br /><strong>Posted:</strong> 22 August 2007 at 1:08pm<br /><br />OK, That did it. Thanks for your patient help.]]>
   </description>
   <pubDate>Wed, 22 Aug 2007 13:08:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7847&amp;PID=25331&amp;title=designer-programatically-filling-comboboxs#25331</guid>
  </item> 
  <item>
   <title><![CDATA[Designer  &amp;  Programatically filling ComboBoxs : Hi, So Combo.ListIndex Property...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7847&amp;PID=25330&amp;title=designer-programatically-filling-comboboxs#25330</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7847<br /><strong>Posted:</strong> 22 August 2007 at 1:06pm<br /><br /><DIV>Hi,</DIV><DIV>So Combo.ListIndex Property doesn't work for you ?</DIV>]]>
   </description>
   <pubDate>Wed, 22 Aug 2007 13:06:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7847&amp;PID=25330&amp;title=designer-programatically-filling-comboboxs#25330</guid>
  </item> 
  <item>
   <title><![CDATA[Designer  &amp;  Programatically filling ComboBoxs : Sorry for the confusion. I will...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7847&amp;PID=25329&amp;title=designer-programatically-filling-comboboxs#25329</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3243">DigiDog</a><br /><strong>Subject:</strong> 7847<br /><strong>Posted:</strong> 22 August 2007 at 12:50pm<br /><br /><P>Sorry for the confusion. I will try to be more careful in the future.</P><P>Now, how do I initialize the combo box with a selection. Nothing seems to be provided to do that. The box always comes up empty until somethng is selected via the mouse etc. I want it to come up with the entry that was there the last time the application was closed.</P><P>&nbsp;</P><P>Many thanks</P>]]>
   </description>
   <pubDate>Wed, 22 Aug 2007 12:50:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7847&amp;PID=25329&amp;title=designer-programatically-filling-comboboxs#25329</guid>
  </item> 
  <item>
   <title><![CDATA[Designer  &amp;  Programatically filling ComboBoxs : Hi,  you wrote in MFC forum,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7847&amp;PID=25326&amp;title=designer-programatically-filling-comboboxs#25326</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7847<br /><strong>Posted:</strong> 22 August 2007 at 12:42pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>you wrote in MFC forum, so I gave you MFC answer. </DIV><DIV>&nbsp;</DIV><DIV>for ActiveX instead of CommandBars.DesignerControls.Find</DIV><DIV>use CommandBars.FindControl</DIV>]]>
   </description>
   <pubDate>Wed, 22 Aug 2007 12:42:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7847&amp;PID=25326&amp;title=designer-programatically-filling-comboboxs#25326</guid>
  </item> 
  <item>
   <title><![CDATA[Designer  &amp;  Programatically filling ComboBoxs : Oleg, I have it working partly....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7847&amp;PID=25317&amp;title=designer-programatically-filling-comboboxs#25317</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3243">DigiDog</a><br /><strong>Subject:</strong> 7847<br /><strong>Posted:</strong> 22 August 2007 at 11:05am<br /><br /><DIV>Oleg, I have it working partly. But I am unable to set in initial entry for the Combo Box. I get errors when using Methods that I would expect to work.</DIV><DIV>&nbsp;</DIV><DIV>Thanks again for your help.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim pCombo As CommandBarComboBox<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set pCombo = CommandBars.DesignerControls.Find(, 1036)<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pCombo.AddItem ("Default")&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Works!<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pCombo.AddItem ("Profile1")&nbsp;&nbsp;&nbsp;&nbsp; 'Works!<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pCombo.AddItem ("Profile2")&nbsp;&nbsp;&nbsp;&nbsp; 'Works!<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pCombo.ListIndex = 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Method 'ListIndex' of object 'ICommandBarComboBox' failed</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'or<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pCombo.Text = "Default"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Method 'Text' of object 'ICommandBarComboBox' failed<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debug.Print pCombo.ListCount&nbsp;&nbsp;&nbsp; 'Works!<BR></DIV>]]>
   </description>
   <pubDate>Wed, 22 Aug 2007 11:05:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7847&amp;PID=25317&amp;title=designer-programatically-filling-comboboxs#25317</guid>
  </item> 
  <item>
   <title><![CDATA[Designer  &amp;  Programatically filling ComboBoxs : Thanks Oleg but I am affraid I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7847&amp;PID=25301&amp;title=designer-programatically-filling-comboboxs#25301</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3243">DigiDog</a><br /><strong>Subject:</strong> 7847<br /><strong>Posted:</strong> 22 August 2007 at 7:55am<br /><br />Thanks Oleg but I am affraid I need it spelled out a little more. I am not finding CXTPControlComboBox or pCommandBars. Thanks for your patience.]]>
   </description>
   <pubDate>Wed, 22 Aug 2007 07:55:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7847&amp;PID=25301&amp;title=designer-programatically-filling-comboboxs#25301</guid>
  </item> 
  <item>
   <title><![CDATA[Designer  &amp;  Programatically filling ComboBoxs : Hello, After you load designer...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7847&amp;PID=25291&amp;title=designer-programatically-filling-comboboxs#25291</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7847<br /><strong>Posted:</strong> 22 August 2007 at 3:01am<br /><br /><DIV>Hello,</DIV><DIV>After you load designer file, find this combo:</DIV><DIV>&nbsp;</DIV><DIV>CXTPControlComboBox* pCombo = (CXTPControlComboBox*)pCommandBars-&gt;FindControl(...);</DIV><DIV>&nbsp;</DIV><DIV>and fill using pCombo-&gt;AddString method.</DIV>]]>
   </description>
   <pubDate>Wed, 22 Aug 2007 03:01:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7847&amp;PID=25291&amp;title=designer-programatically-filling-comboboxs#25291</guid>
  </item> 
  <item>
   <title><![CDATA[Designer  &amp;  Programatically filling ComboBoxs : I have been able to create toolbars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7847&amp;PID=25288&amp;title=designer-programatically-filling-comboboxs#25288</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3243">DigiDog</a><br /><strong>Subject:</strong> 7847<br /><strong>Posted:</strong> 22 August 2007 at 12:37am<br /><br />I have been able to create toolbars with ComboBoxes etc. and can populate them in Designer but I need to populate the ComboBox in code.&nbsp; Should be simple. Can anyone help?<DIV>&nbsp;</DIV><DIV>Many thanks</DIV>]]>
   </description>
   <pubDate>Wed, 22 Aug 2007 00:37:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7847&amp;PID=25288&amp;title=designer-programatically-filling-comboboxs#25288</guid>
  </item> 
 </channel>
</rss>