<?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 : How to change font for CXTFlatComboBox</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : How to change font for CXTFlatComboBox]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 13:40:16 +0000</pubDate>
  <lastBuildDate>Thu, 16 Mar 2006 01:02:52 +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=3786</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[How to change font for CXTFlatComboBox : Hi I create a custom combo in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3786&amp;PID=11450&amp;title=how-to-change-font-for-cxtflatcombobox#11450</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1151">Maneesh</a><br /><strong>Subject:</strong> 3786<br /><strong>Posted:</strong> 16 March 2006 at 1:02am<br /><br /><P>Hi</P><P>I create a custom combo in my toolbar.The combo style is DROPDOWNLIST.When I type in charecters in the combo the charecters appear in BOLD style nad the size of charecters is bigger.I donot want the charecters to be in BOLD style.How do I change the style of the combo.I looked into the samples but I couldnt get any solutions. Below is the code by which I create the COMBO</P><P>&nbsp;CXTPToolBar* pToolBar = lpCreateControl-&gt;bToolBar? DYNAMIC_DOWNCAST(CXTPToolBar, lpCreateControl-&gt;pCommandBar): NULL;</P><P>&nbsp;if (&nbsp; pToolBar ) <BR>&nbsp;{<BR>&nbsp;&nbsp;if ( pToolBar-&gt;GetBarID() == IDR_BUTTONS_TOOLBAR ) <BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;switch (lpCreateControl-&gt;nID )<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;case ID_TOOLBAR_SMART_COMBO:<BR>&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_cmbSmartCombo.Create( CBS_AUTOHSCROLL | CBS_DROPDOWN|WS_TABSTOP | WS_CHILD | WS_VISIBLE&nbsp; , CRect( 0 ,0 , 175, 25) , this , ID_SMARTLOOKUP_COMBO );<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CXTPControlCustom* pControlDestComboBox = CXTPControlCustom::CreateControlCustom(&amp;m_cmbSmartCombo) ;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lpCreateControl-&gt;pControl = pControlDestComboBox;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lpCreateControl-&gt;buttonStyl e = xtpButtonAutomatic;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return TRUE;<BR>&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;}<BR>&nbsp;}</P><P>m_cmbSmartCombo is an object of CPxFlatComboBox which is derived from CXTFlatComboBox.</P><P>Also I dont get the flat look for the combo when I do it in this way.How do I get the flat look for the combo.</P><P>Any thoughts on this.</P><P>Expecting a reply ASAP.</P><P>Regards</P><P>Ganapathi</P>]]>
   </description>
   <pubDate>Thu, 16 Mar 2006 01:02:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3786&amp;PID=11450&amp;title=how-to-change-font-for-cxtflatcombobox#11450</guid>
  </item> 
 </channel>
</rss>