<?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 : CXTPControlComboBox + Ribbon + ownerdraw prob</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : CXTPControlComboBox + Ribbon + ownerdraw prob]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 22:16:41 +0000</pubDate>
  <lastBuildDate>Wed, 16 Jul 2008 00:07: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=11460</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[CXTPControlComboBox + Ribbon + ownerdraw prob : OK, figured it out. when creating...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11460&amp;PID=38437&amp;title=cxtpcontrolcombobox-ribbon-ownerdraw-prob#38437</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2992">Joe19</a><br /><strong>Subject:</strong> 11460<br /><strong>Posted:</strong> 16 July 2008 at 12:07am<br /><br />OK, figured it out.&nbsp; when creating the CXTPControlComboBox its constructors default parameter is NULL.&nbsp; If this value is set to the CommandBars object, the control message reflection will work allowing ownerdraw to work.&nbsp; You can get the CommandBars object from the ribbonbar with GetCommandBars.]]>
   </description>
   <pubDate>Wed, 16 Jul 2008 00:07:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11460&amp;PID=38437&amp;title=cxtpcontrolcombobox-ribbon-ownerdraw-prob#38437</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControlComboBox + Ribbon + ownerdraw prob : I have a Ribbon based app. I am...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11460&amp;PID=38435&amp;title=cxtpcontrolcombobox-ribbon-ownerdraw-prob#38435</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2992">Joe19</a><br /><strong>Subject:</strong> 11460<br /><strong>Posted:</strong> 15 July 2008 at 11:42pm<br /><br />I have a Ribbon based app.&nbsp; I am trying to add a CXTPControlComboBox control that will be owner drawn.&nbsp; It does not have the edit field.<DIV>&nbsp;</DIV><DIV>I subclass the control.&nbsp; I&nbsp;set the listbox style to (LBS_OWNERDRAWFIXED | LBS_HASSTRINGS) </DIV><DIV>&nbsp;</DIV><DIV>DrawEditText does gets called whether the style is set&nbsp;or not&nbsp;.</DIV><DIV>&nbsp;</DIV><DIV>No matter which way the style is set, DrawItem and MeasureItem do not get called.&nbsp; If the style is not set, the listbox will do its default draw.&nbsp; If it is set, the background is filled but that is all.</DIV><DIV>&nbsp;</DIV><DIV>I've looked at the custom themes example but I think the Ribbon may be causing the problem.</DIV><DIV>&nbsp;</DIV><DIV>So I am stumped about how to proceed.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 15 Jul 2008 23:42:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11460&amp;PID=38435&amp;title=cxtpcontrolcombobox-ribbon-ownerdraw-prob#38435</guid>
  </item> 
 </channel>
</rss>