<?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 : [RESOLVED]CXTPControlCustom and Office 2010 theme</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : [RESOLVED]CXTPControlCustom and Office 2010 theme]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 19:31:34 +0000</pubDate>
  <lastBuildDate>Mon, 10 Oct 2016 09:49:56 +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=23156</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[[RESOLVED]CXTPControlCustom and Office 2010 theme : Hi Artem,Thanks for the suggestion....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23156&amp;PID=75193&amp;title=resolvedcxtpcontrolcustom-and-office-2010-theme#75193</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8719">Dan</a><br /><strong>Subject:</strong> 23156<br /><strong>Posted:</strong> 10 October 2016 at 9:49am<br /><br />Hi Artem,<div><br></div><div>Thanks for the suggestion. &nbsp;Unfortunately disabling DWM seemed to cause all sorts of problems with the re-drawing of our main application window (which is using OpenGL) so I couldn't do that.</div><div><br></div><div>Since all the Office 2007 themes were working - and they only make the very top part of the Window transparent (where the caption and Quick Access Toolbar live) - I decided to try and make the Office 2010 themes have the same behaviour (i.e to disable the transparency behind the Ribbon Bar tab captions).</div><div><br></div><div>After looking through the source code I discovered that I could do that by editing the 3 Office 2010 ini files (BlueTheme.ini, BlackTheme.ini and SilverTheme.ini) by changing&nbsp;</div><div><br></div><div>FlatFrame = 1</div><div><br></div><div>to</div><div><br></div><div>FlatFrame = 0</div><div><br></div><div>and re-building the Office2010 style DLL.</div><div><br></div><div>It means our application will look a little different now but I think that change is acceptable. &nbsp;The custom ComboBox now looks as expected.</div><div><br></div><div>Thanks,</div><div><br></div><div>Dan</div>]]>
   </description>
   <pubDate>Mon, 10 Oct 2016 09:49:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23156&amp;PID=75193&amp;title=resolvedcxtpcontrolcustom-and-office-2010-theme#75193</guid>
  </item> 
  <item>
   <title><![CDATA[[RESOLVED]CXTPControlCustom and Office 2010 theme :  Hello Dan,To disable frame transparent...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23156&amp;PID=75191&amp;title=resolvedcxtpcontrolcustom-and-office-2010-theme#75191</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9012">agontarenko</a><br /><strong>Subject:</strong> 23156<br /><strong>Posted:</strong> 08 October 2016 at 7:48am<br /><br />Hello Dan,<br><br>To disable frame transparent option for Office2010 style, you should be set <br>CXTPCommandBarsFrameHook::m_bAllowDwm = FALSE;<br><br>Regards,<br>Artem Gontarenko&nbsp; <br>]]>
   </description>
   <pubDate>Sat, 08 Oct 2016 07:48:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23156&amp;PID=75191&amp;title=resolvedcxtpcontrolcustom-and-office-2010-theme#75191</guid>
  </item> 
  <item>
   <title><![CDATA[[RESOLVED]CXTPControlCustom and Office 2010 theme : Hi,I&amp;#039;m trying to add a custom-made...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23156&amp;PID=75185&amp;title=resolvedcxtpcontrolcustom-and-office-2010-theme#75185</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8719">Dan</a><br /><strong>Subject:</strong> 23156<br /><strong>Posted:</strong> 06 October 2016 at 6:28am<br /><br />Hi,<div><br></div><div>I'm trying to add a custom-made class derived from the MFC CComboBox to our Ribbon Bar next to the Tab captions. &nbsp;I'm using v16.3.1 of Codejock.</div><div><br></div><div>Here is the relevant code ...</div><div><br></div><div><div>m_pComboExt = new CComboBoxExt();</div><div>m_pComboExt-&gt;Create(CBS_DROPDOWN | CBS_SORT | WS_VSCROLL | WS_CHILD | WS_VISIBLE | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS, CRect(0,0,100,100), this, ID_CMD_SEARCH2);</div><div><br></div><div>CXTPControlCustom *pControl = CXTPControlCustom::CreateControlCustom(m_pComboExt);</div><div><br></div><div>m_pRibbonBar-&gt;GetControls()-&gt;Add(pControl, ID_CMD_SEARCH2, nullptr, -1);</div></div><div><br></div><div>The combo-box appears where and I want and is fully functional, BUT, when using any of the Office 2010 themes the text in the Edit box portion of the ComboBox is barely readable. &nbsp;For some reason it is transparent and so it completely depends on what is behind my application whether you can read the text or not. &nbsp;The non Office 2010 themes do not have this problem. &nbsp;The top half of the image shows an Office 2010 theme, the bottom is the Windows 7 Scenic theme.</div><div><br></div><div><img src="uploads/8719/Office2010Theme.png" height="160" width="730" border="0" /><br></div><div><br></div><div>Please can you give me any ideas about to fix/work-around the problem?</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 06 Oct 2016 06:28:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23156&amp;PID=75185&amp;title=resolvedcxtpcontrolcustom-and-office-2010-theme#75185</guid>
  </item> 
 </channel>
</rss>