<?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 : Flat combobox in a command bar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Flat combobox in a command bar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 03:28:37 +0000</pubDate>
  <lastBuildDate>Thu, 02 Mar 2006 23:11:25 +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=527</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[Flat combobox in a command bar : Hi, Eureka !!! ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=527&amp;PID=11269&amp;title=flat-combobox-in-a-command-bar#11269</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1754">kanitamildasan</a><br /><strong>Subject:</strong> 527<br /><strong>Posted:</strong> 02 March 2006 at 11:11pm<br /><br /><P>Hi,</P><P>Eureka !!! <IMG src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></P>]]>
   </description>
   <pubDate>Thu, 02 Mar 2006 23:11:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=527&amp;PID=11269&amp;title=flat-combobox-in-a-command-bar#11269</guid>
  </item> 
  <item>
   <title><![CDATA[Flat combobox in a command bar : Hi, As per https://forum.code...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=527&amp;PID=11236&amp;title=flat-combobox-in-a-command-bar#11236</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1754">kanitamildasan</a><br /><strong>Subject:</strong> 527<br /><strong>Posted:</strong> 01 March 2006 at 5:14am<br /><br /><P>Hi,</P><P>As per <A href="https://forum.codejock.com/forum_posts.asp?TID=3114&amp;PN=1" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=3114&amp;PN=1</A> </P><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> </P><P>Hello,</P><P>The problem that you reported with the combo box has been corrected with v9.81 release. </P><P>Regards,<BR>Codejock Support</P><P></td></tr></table></P><P>Is it possible to use owner drawn CXTFontCombo in mainframe commandbar in 9.81 Pro ?</P>]]>
   </description>
   <pubDate>Wed, 01 Mar 2006 05:14:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=527&amp;PID=11236&amp;title=flat-combobox-in-a-command-bar#11236</guid>
  </item> 
  <item>
   <title><![CDATA[Flat combobox in a command bar : Hi, The DrawItem of CXTFontCombo...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=527&amp;PID=11209&amp;title=flat-combobox-in-a-command-bar#11209</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1754">kanitamildasan</a><br /><strong>Subject:</strong> 527<br /><strong>Posted:</strong> 27 February 2006 at 10:35pm<br /><br /><P>Hi,</P><P>The DrawItem of CXTFontCombo is not called when we put it in CommandBar using CXTPControlCustom</P><P>It's working correctly when fontcombo is in Dialog (FontCombo Sample)</P><P>any <SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: EN-US; mso-bidi-: AR-SA">suggestion</SPAN>???</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 27 Feb 2006 22:35:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=527&amp;PID=11209&amp;title=flat-combobox-in-a-command-bar#11209</guid>
  </item> 
  <item>
   <title><![CDATA[Flat combobox in a command bar : Hello, Oleg , Sorry for not explaining...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=527&amp;PID=11184&amp;title=flat-combobox-in-a-command-bar#11184</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1754">kanitamildasan</a><br /><strong>Subject:</strong> 527<br /><strong>Posted:</strong> 25 February 2006 at 12:10am<br /><br /><P>Hello,</P><P>Oleg , Sorry for not explaining my problem clearly</P><P>Already I have gone through the examples you've mentioned<BR>but those examples make use of CXTPControlFontComboBox</P><P>But i am porting an application that uses the old CXTFontCombo<BR>(with some code customization in the control itself )<BR>I'm trying to add the same old CXTFontCombo through CXTPControlCustom<BR>in the CommandBar so i can make use of my old message handler code without any changes.</P><P>i can change the view font through CXTFontCombo in CommandBar but</P><P>m_wndComboFont.SetListStyle(xtFontBoth);</P><P>is not working ??? <IMG src="http://forum.codejock.com/smileys/smiley5.gif" border="0"></P><P>thanks for spending your valuable time</P><P><BR>&nbsp;</P>]]>
   </description>
   <pubDate>Sat, 25 Feb 2006 00:10:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=527&amp;PID=11184&amp;title=flat-combobox-in-a-command-bar#11184</guid>
  </item> 
  <item>
   <title><![CDATA[Flat combobox in a command bar : People! Have you ever run any...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=527&amp;PID=11163&amp;title=flat-combobox-in-a-command-bar#11163</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 527<br /><strong>Posted:</strong> 24 February 2006 at 7:53am<br /><br /><P>People!</P><P>Have you ever run any our samples?</P><P>see GUI_Office11 as sample of Font Combo in Toolbar.</P>]]>
   </description>
   <pubDate>Fri, 24 Feb 2006 07:53:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=527&amp;PID=11163&amp;title=flat-combobox-in-a-command-bar#11163</guid>
  </item> 
  <item>
   <title><![CDATA[Flat combobox in a command bar : Hi, I have created CXTFontCombo...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=527&amp;PID=11154&amp;title=flat-combobox-in-a-command-bar#11154</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1754">kanitamildasan</a><br /><strong>Subject:</strong> 527<br /><strong>Posted:</strong> 24 February 2006 at 1:37am<br /><br /><P>Hi,</P><P>I have created CXTFontCombo in toolbar using CXTPControlCustom</P><P>But CXTFontCombo's SetListStyle(xtFontBoth) method is not working ? It always shows like 'xtFontGUI'</P><P>Thanks in advance </P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 24 Feb 2006 01:37:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=527&amp;PID=11154&amp;title=flat-combobox-in-a-command-bar#11154</guid>
  </item> 
  <item>
   <title><![CDATA[Flat combobox in a command bar : Use this code :  //----------...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=527&amp;PID=1370&amp;title=flat-combobox-in-a-command-bar#1370</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=365">Alex H.</a><br /><strong>Subject:</strong> 527<br /><strong>Posted:</strong> 17 March 2004 at 9:10am<br /><br /><P><strong>Use this code :</strong></P><P> //---------------------------------------------------------- ----------------------------- <BR>int CMyFrame::OnCreateControl(LPCREATECONTROLSTRUCT lpCreateControl)<BR> //---------------------------------------------------------- ----------------------------- <BR>{<BR>&nbsp;if (lpCreateControl-&gt;bToolBar)<BR>&nbsp;{<BR>&nbsp;&nbsp;CXTPToolBar* pToolBar = DYNAMIC_DOWNCAST(CXTPToolBar, lpCreateControl-&gt;pCommandBar);<BR>&nbsp;&nbsp;if (!pToolBar)<BR>&nbsp;&nbsp;&nbsp;return FALSE;</P><P>&nbsp;&nbsp;if (lpCreateControl-&gt;nID == ID_SORT_FIELDSPLACEHOLDER &amp;&amp; pToolBar-&gt;GetBarID() == IDR_SORT)<BR>&nbsp;&nbsp;{&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;// create the Sortorders combo box.<BR>&nbsp;&nbsp;&nbsp;if (!m_wndComboSortOrders.Create(  WS_CHILD|WS_VISIBLE|WS_VSCROLL|CBS_DROPDOWNLIST|WS_CLIPCHILD REN,<BR>&nbsp;&nbsp;&nbsp;&nbsp;CRect(0,0,200,200), this, ID_SORT_FIELDSPLACEHOLDER ))<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;XTRACE(0, "Failed to create sort orders&nbsp; combo.\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;XTRACE(-1, _T("CUIChildFrame::OnCreateControl -&gt; 0"));<BR>&nbsp;&nbsp;&nbsp;&nbsp;return FALSE;<BR>&nbsp;&nbsp;&nbsp;}</P><P> &nbsp;&nbsp;&nbsp;m_wndComboSortOrders.SetFont(&amp;xtAfxDat a.font);</P><P>&nbsp;&nbsp;&nbsp;UpdateToolbarSortorders();</P><P>&nbsp;&nbsp;&nbsp;CXTPControlCustom* pControl = (CXTPControlCustom*)CXTPControlCustom::CreateObject();<BR> &nbsp;&nbsp;&nbsp;pControl-&gt;SetFlags(xtpFlagManualUpdate) ;<BR> &nbsp;&nbsp;&nbsp;pControl-&gt;SetControl(&amp;m_wndComboSor tOrders);</P><P>&nbsp;&nbsp;&nbsp;lpCreateControl-&gt;pControl = pControl;<BR>&nbsp;&nbsp;&nbsp;return TRUE;</P><P>...</P><P>CXTFlatComboBox&nbsp;&nbsp;m_wndComboSortOrders;</P><P><strong>Hope this helps :-)</strong></P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 17 Mar 2004 09:10:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=527&amp;PID=1370&amp;title=flat-combobox-in-a-command-bar#1370</guid>
  </item> 
  <item>
   <title><![CDATA[Flat combobox in a command bar : Hello Does anybody have idea...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=527&amp;PID=1344&amp;title=flat-combobox-in-a-command-bar#1344</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=413">HotSouce</a><br /><strong>Subject:</strong> 527<br /><strong>Posted:</strong> 15 March 2004 at 5:19am<br /><br /><P>Hello</P><P>Does anybody have idea how to create a flat combobox in a command bar. The problem is that the standard flat combobox is not derived from CXTPControl class&nbsp;, but the Command bar shows only CXTPControl objects. I tried to use SetCommandBar method of the CXTPControlComboBox and as a parameter gave CXTPPopupBar object but the project crashes at run time. I hope there is a decision of that problem.</P><P>Thanks in advance!</P><P>HotSouce</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 15 Mar 2004 05:19:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=527&amp;PID=1344&amp;title=flat-combobox-in-a-command-bar#1344</guid>
  </item> 
 </channel>
</rss>