<?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 : combo box</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : combo box]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 14:34:49 +0000</pubDate>
  <lastBuildDate>Wed, 24 Nov 2004 00:25:05 +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=1443</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[combo box : Maybe you forgot to add ON_XTP_CREATECONTROL()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1443&amp;PID=4123&amp;title=combo-box#4123</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1443<br /><strong>Posted:</strong> 24 November 2004 at 12:25am<br /><br /><P>Maybe you forgot to add ON_XTP_CREATECONTROL() macros?</P><P>For Dialog Sample add:</P><P>ON_XTP_CREATECONTROL() to message map,</P><P>int CDialogSampleDlg::OnCreateControl(LPCREATECONTROLSTRUCT lpCreateControl)<BR>{<BR>&nbsp;if (lpCreateControl-&gt;nID == ID_BUTTON_PLAY)<BR>&nbsp;{<BR>&nbsp;&nbsp;if (!m_wndComboBox.Create(WS_TABSTOP | WS_CHILD | WS_VISIBLE |CBS_DROPDOWN <BR>,<BR>&nbsp;&nbsp;&nbsp;CRect(0, 0, 100, 100), this, 100))<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;return FALSE;<BR>&nbsp;&nbsp;}<BR>&nbsp;&nbsp;COMBOBOXEXITEM cbItem;<BR>&nbsp;&nbsp;ZeroMemory(&amp;cbItem, sizeof(COMBOBOXEXITEM));<BR>&nbsp;&nbsp;cbItem.mask = CBEIF_TEXT;<BR>&nbsp;&nbsp;cbItem.pszText = _T("Manager");</P><P>&nbsp;&nbsp;m_wndComboBox.InsertItem(&amp;cbItem);</P><P><BR>&nbsp;&nbsp;cbItem.pszText = _T("Administrator");<BR>&nbsp;&nbsp;m_wndComboBox.InsertItem(&amp;cbItem);<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;CXTPControlCustom* pControl =  CXTPControlCustom::CreateControlCustom(&amp;m_wndComboBox);& nbsp;&nbsp;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;pControl-&gt;SetBorders(3, 3, 3, 3);<BR> &nbsp;&nbsp;pControl-&gt;SetVerticalPositionOption(xtpVertic alShow);</P><P>&nbsp;&nbsp;lpCreateControl-&gt;pControl = pControl;<BR>&nbsp;&nbsp;return TRUE;<BR>&nbsp;}<BR>&nbsp;return FALSE;<BR>}</P><P>&nbsp;</P><P>declaration:</P><P>CComboBoxEx m_wndComboBox;<BR>int OnCreateControl(LPCREATECONTROLSTRUCT lpCreateControl);</P>]]>
   </description>
   <pubDate>Wed, 24 Nov 2004 00:25:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1443&amp;PID=4123&amp;title=combo-box#4123</guid>
  </item> 
  <item>
   <title><![CDATA[combo box : I would like to usea combo box...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1443&amp;PID=4111&amp;title=combo-box#4111</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=844">shahaf</a><br /><strong>Subject:</strong> 1443<br /><strong>Posted:</strong> 23 November 2004 at 9:14am<br /><br /><P>I would like to use&nbsp;a combo box with icons and indentation in a dialog.</P><P>I have tried to use CXTComboBoxEx according to the example in the CommonControls project, and it just does not work.<IMG src="http://forum.codejock.com/smileys/smiley19.gif" border="0"></P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 23 Nov 2004 09:14:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1443&amp;PID=4111&amp;title=combo-box#4111</guid>
  </item> 
 </channel>
</rss>