<?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 : CXTComboBoxEx - Horiz&#111;ntal Scrolling</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : CXTComboBoxEx - Horiz&#111;ntal Scrolling]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 11:19:25 +0000</pubDate>
  <lastBuildDate>Thu, 04 Aug 2005 08:56:13 +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=2682</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[CXTComboBoxEx - Horiz&#111;ntal Scrolling : Dear CodeJock,  I am creating...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2682&amp;PID=8000&amp;title=cxtcomboboxex-horizontal-scrolling#8000</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1176">Kevin6</a><br /><strong>Subject:</strong> 2682<br /><strong>Posted:</strong> 04 August 2005 at 8:56am<br /><br /><P><FONT size=1>Dear CodeJock, </FONT></P><P><FONT size=1>&nbsp;I am creating a Property Grid to have a bespoke GridItem in a Pane. The Grid Item will consist of a CXTComboBoxEx and a CXTButton.</FONT></P><P><FONT size=1>There exists a problem when trying to get the Horizontal scrolling enabled in the CXTComboBoxEx.</FONT></P><P><FONT size=1>Here is a code snip -:</FONT></P><P>&nbsp;// The class declaration.</P><FONT color=#0000ff size=2><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P>class</FONT><FONT size=2> CTraSerFPCustomInPlaceListBox : </FONT><FONT color=#0000ff size=2>public</FONT><FONT size=2> C</FONT><FONT color=#008000 size=2>XTComboBoxEx</FONT></P></BLOCKQUOTE><P><FONT color=#000000 size=1>I then create the control in the OnSelect handler for my GridItem in the Pane. This works fine and my controls are displayed as I expect them to be. Here is the code snip -:</FONT></P><FONT><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P><FONT size=2>DWORD dwStyle = WS_BORDER|WS_CHILD|WS_VISIBLE|WS_VSCROLL| WS_HSCROLL |CBS_DROPDOWNLIST; </FONT></P><P><FONT size=2>m_wndComboBox.Create( dwStyle , rcCombo, (CWnd*)m_pGrid, 1972); </FONT></P><P><FONT size=2>m_wndComboBox.SetHorizontalExtent(400);</FONT></P></BLOCKQUOTE><P dir=ltr><FONT size=1>I have a message map set up for these classes so I can handle some simple interaction. </FONT></P><P dir=ltr><FONT size=1>Notice that I have specified the creation of the class C<FONT color=#008000>XTComboBoxEx <FONT color=#000000>with </FONT></FONT>&nbsp;the WS_HSCROLL and a subsequent call to SetHorizontalExtent.</FONT></P><P dir=ltr><FONT size=1>If I use CXTComboBoxEX - it does not work.</FONT></P><P dir=ltr><FONT size=1>If I derive my class from CComboBox - the Horizontal scroll bars appear.</FONT></P><P dir=ltr><FONT size=1>If I am missing something please let me know&nbsp;is there&nbsp;a work around- or otherwise confirm this as a bug ?</FONT></P><P dir=ltr><FONT size=1>Other than this seemingly minor issue - keep up the good work - I look forward to your reply.</FONT></P><P dir=ltr><FONT size=1>regards</FONT></P><P dir=ltr><FONT size=1>Kevin.</FONT></P></FONT>]]>
   </description>
   <pubDate>Thu, 04 Aug 2005 08:56:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2682&amp;PID=8000&amp;title=cxtcomboboxex-horizontal-scrolling#8000</guid>
  </item> 
 </channel>
</rss>