<?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 : 13.1 problem with Scenic and White Themes?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : 13.1 problem with Scenic and White Themes?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 17:16:27 +0000</pubDate>
  <lastBuildDate>Wed, 12 Aug 2009 10:03:30 +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=14616</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[13.1 problem with Scenic and White Themes? :   markr wrote:We&amp;#039;re having...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=51895&amp;title=13-1-problem-with-scenic-and-white-themes#51895</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2928">terrym</a><br /><strong>Subject:</strong> 14616<br /><strong>Posted:</strong> 12 August 2009 at 10:03am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by markr" alt="Originally posted by markr" style="vertical-align: text-bottom;" /> <strong>markr wrote:</strong><br /><br />We're having this problem with the white theme as well (tab text is wrong color).<BR><BR>Main difference between our app and sample is that we link statically. Our app .rc2 contains all the required resources, and all other themes are working perfectly.<BR></td></tr></table> <DIV></DIV><DIV>&nbsp;</DIV><DIV>To fix this issue change</DIV><DIV><FONT size=3 face=C&#111;nsolas></FONT>&nbsp;</DIV><DIV><FONT size=3 face=C&#111;nsolas>AFX_INLINE BOOL IsCompositeRect(CXTPCommandBar* pRibbonBar, const CRect&amp; rc)</FONT></DIV><DIV><FONT size=3 face=C&#111;nsolas></FONT>&nbsp;</DIV><DIV>to</DIV><DIV>&nbsp;</DIV><DIV><FONT size=3 face=C&#111;nsolas>IsCompositeRect2</FONT></DIV><DIV><FONT size=3 face=C&#111;nsolas></FONT>&nbsp;</DIV><DIV><FONT size=3 face=C&#111;nsolas>in XTPRibbonPaintManager.cpp however I do believe this is being fixed for next release of XTP, also you may want to ask Oleg for updates white theme as the contextual tabs dont show correctly otherwise.</FONT></DIV><DIV><FONT size=3 face=C&#111;nsolas></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 12 Aug 2009 10:03:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=51895&amp;title=13-1-problem-with-scenic-and-white-themes#51895</guid>
  </item> 
  <item>
   <title><![CDATA[13.1 problem with Scenic and White Themes? : We&amp;#039;re having this problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=51893&amp;title=13-1-problem-with-scenic-and-white-themes#51893</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=669">markr</a><br /><strong>Subject:</strong> 14616<br /><strong>Posted:</strong> 12 August 2009 at 9:55am<br /><br />We're having this problem with the white theme as well (tab text is wrong color).<br><br>Main difference between our app and sample is that we link statically. Our app .rc2 contains all the required resources, and all other themes are working perfectly.<br>]]>
   </description>
   <pubDate>Wed, 12 Aug 2009 09:55:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=51893&amp;title=13-1-problem-with-scenic-and-white-themes#51893</guid>
  </item> 
  <item>
   <title><![CDATA[13.1 problem with Scenic and White Themes? : We have found the reason white...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=50464&amp;title=13-1-problem-with-scenic-and-white-themes#50464</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2928">terrym</a><br /><strong>Subject:</strong> 14616<br /><strong>Posted:</strong> 29 June 2009 at 11:24am<br /><br />We have found the reason white theme is not working on our application, but not sure how to fix:<DIV>&nbsp;</DIV><DIV><P style="MARGIN: 0cm 0cm 0pt" =MsoPlainText><FONT size=3 face=C&#111;nsolas>Ah for some reason your sample is calling:</FONT></P><P style="MARGIN: 0cm 0cm 0pt" =MsoPlainText><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT size=3 face=C&#111;nsolas>&nbsp;</FONT></o:p></P><P style="MARGIN: 0cm 0cm 0pt" =MsoPlainText><FONT size=3 face=C&#111;nsolas>AFX_INLINE BOOL IsCompositeRect(CXTPCommandBar* pRibbonBar, const CRect&amp; rc)</FONT></P><P style="MARGIN: 0cm 0cm 0pt" =MsoPlainText><o:p><FONT size=3 face=C&#111;nsolas>&nbsp;</FONT></o:p></P><P style="MARGIN: 0cm 0cm 0pt" =MsoPlainText><FONT size=3 face=C&#111;nsolas>Which is found in the XTPRibbonPaintManager.cpp class however our application for some reason is calling:</FONT></P><P style="MARGIN: 0cm 0cm 0pt" =MsoPlainText><o:p><FONT size=3 face=C&#111;nsolas>&nbsp;</FONT></o:p></P><P style="MARGIN: 0cm 0cm 0pt" =MsoPlainText><FONT size=3 face=C&#111;nsolas>AFX_INLINE BOOL IsCompositeRect(CXTPCommandBar* pRibbonBar, const CRect&amp; rc)</FONT></P><P style="MARGIN: 0cm 0cm 0pt" =MsoPlainText><o:p><FONT size=3 face=C&#111;nsolas>&nbsp;</FONT></o:p></P><P style="MARGIN: 0cm 0cm 0pt" =MsoPlainText><FONT size=3 face=C&#111;nsolas>from XTPRibbonTheme.cpp</FONT></P><P style="MARGIN: 0cm 0cm 0pt" =MsoPlainText><o:p><FONT size=3 face=C&#111;nsolas>&nbsp;</FONT></o:p></P><P style="MARGIN: 0cm 0cm 0pt" =MsoPlainText><FONT size=3 face=C&#111;nsolas>Any ideas why this would happen lol</FONT></P></DIV>]]>
   </description>
   <pubDate>Mon, 29 Jun 2009 11:24:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=50464&amp;title=13-1-problem-with-scenic-and-white-themes#50464</guid>
  </item> 
  <item>
   <title><![CDATA[13.1 problem with Scenic and White Themes? :   znakeeye wrote:Cool software...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=50315&amp;title=13-1-problem-with-scenic-and-white-themes#50315</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2928">terrym</a><br /><strong>Subject:</strong> 14616<br /><strong>Posted:</strong> 26 June 2009 at 4:50am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by znakeeye" alt="Originally posted by znakeeye" style="vertical-align: text-bottom;" /> <strong>znakeeye wrote:</strong><br /><br />Cool software Terry! :D</td></tr></table> <DIV>&nbsp;</DIV><DIV>Thanks :)</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 26 Jun 2009 04:50:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=50315&amp;title=13-1-problem-with-scenic-and-white-themes#50315</guid>
  </item> 
  <item>
   <title><![CDATA[13.1 problem with Scenic and White Themes? :   robin_l wrote:Bizarre.... I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=50313&amp;title=13-1-problem-with-scenic-and-white-themes#50313</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2928">terrym</a><br /><strong>Subject:</strong> 14616<br /><strong>Posted:</strong> 26 June 2009 at 4:44am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by robin_l" alt="Originally posted by robin_l" style="vertical-align: text-bottom;" /> <strong>robin_l wrote:</strong><br /><br />Bizarre.... I presume the ribbonsample runs OK on your system, AFTER building it locally....</td></tr></table> <DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>Thats the strange thing, the sample does work lol :( but this could be a memory leak or problem in XTP as we use GDIPlus etc. but we have no leaks as checked all code.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 26 Jun 2009 04:44:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=50313&amp;title=13-1-problem-with-scenic-and-white-themes#50313</guid>
  </item> 
  <item>
   <title><![CDATA[13.1 problem with Scenic and White Themes? : Cool software Terry! :D ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=50308&amp;title=13-1-problem-with-scenic-and-white-themes#50308</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14616<br /><strong>Posted:</strong> 26 June 2009 at 2:44am<br /><br />Cool software Terry! :D]]>
   </description>
   <pubDate>Fri, 26 Jun 2009 02:44:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=50308&amp;title=13-1-problem-with-scenic-and-white-themes#50308</guid>
  </item> 
  <item>
   <title><![CDATA[13.1 problem with Scenic and White Themes? : Bizarre.... I presume the ribbonsample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=50304&amp;title=13-1-problem-with-scenic-and-white-themes#50304</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2426">robin_l</a><br /><strong>Subject:</strong> 14616<br /><strong>Posted:</strong> 25 June 2009 at 4:48pm<br /><br />Bizarre.... I presume the ribbonsample runs OK on your system, AFTER building it locally....]]>
   </description>
   <pubDate>Thu, 25 Jun 2009 16:48:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=50304&amp;title=13-1-problem-with-scenic-and-white-themes#50304</guid>
  </item> 
  <item>
   <title><![CDATA[13.1 problem with Scenic and White Themes? : I have created a video to show...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=50303&amp;title=13-1-problem-with-scenic-and-white-themes#50303</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2928">terrym</a><br /><strong>Subject:</strong> 14616<br /><strong>Posted:</strong> 25 June 2009 at 4:42pm<br /><br /><P>I have created a video to show the problem on Vista, please click Large Size to see the Ribbon tabs properly (and you may need to make full screen.</P><DIV><a href="http://www.screencast.com/users/My-Software/folders/Jing/media/a01a1b8e-2b6a-4c12-a322-37d1953c2525" target="_blank">http://www.screencast.com/users/My-Software/folders/Jing/media/a01a1b8e-2b6a-4c12-a322-37d1953c2525</A></DIV><DIV>&nbsp;</DIV><DIV>Any ideas much appreciated.</DIV>]]>
   </description>
   <pubDate>Thu, 25 Jun 2009 16:42:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=50303&amp;title=13-1-problem-with-scenic-and-white-themes#50303</guid>
  </item> 
  <item>
   <title><![CDATA[13.1 problem with Scenic and White Themes? : Thanks, but till same issue :(...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=50301&amp;title=13-1-problem-with-scenic-and-white-themes#50301</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2928">terrym</a><br /><strong>Subject:</strong> 14616<br /><strong>Posted:</strong> 25 June 2009 at 4:02pm<br /><br />Thanks, but till same issue :(&nbsp; very very strange<DIV>&nbsp;</DIV><DIV>The text on the ribbon tabs is actually transparent lol so when you move the window you can see the background through the text???</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 25 Jun 2009 16:02:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=50301&amp;title=13-1-problem-with-scenic-and-white-themes#50301</guid>
  </item> 
  <item>
   <title><![CDATA[13.1 problem with Scenic and White Themes? : Well I find I fail to get some...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=50300&amp;title=13-1-problem-with-scenic-and-white-themes#50300</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2426">robin_l</a><br /><strong>Subject:</strong> 14616<br /><strong>Posted:</strong> 25 June 2009 at 3:35pm<br /><br />Well I find I fail to get some window elements updated correctly if I copy the ribbonsample code exactly and certainly can't get by without sending a WM_NCPAINT message... dunno whether you have something similar. For what it is worth, the full code I use is copied below:<DIV>&nbsp;</DIV><DIV>void CGFMainWnd::OnOptionsStyle(UINT nStyle)</DIV><DIV>{<BR>&nbsp;&nbsp;&nbsp; HMODULE hModule = AfxGetInstanceHandle();</DIV><DIV>&nbsp;&nbsp;&nbsp; LPCTSTR lpszIniFile = 0;<BR>&nbsp;&nbsp;&nbsp; switch (nStyle)<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case ID_OPTIONS_STYLEBLUE:&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lpszIniFile = _T("OFFICE2007BLUE.INI"); break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case ID_OPTIONS_STYLEBLACK:&nbsp;<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lpszIniFile = _T("OFFICE2007BLACK.INI"); break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case ID_OPTIONS_STYLEAQUA:&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lpszIniFile = _T("OFFICE2007AQUA.INI"); break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case ID_OPTIONS_STYLESILVER:&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lpszIniFile = _T("OFFICE2007SILVER.INI"); break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case ID_OPTIONS_STYLESCENIC:&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lpszIniFile = _T("OFFICE2007SCENIC.INI"); break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case ID_OPTIONS_STYLEWHITE:&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lpszIniFile = _T("OFFICE2007WHITE.INI"); break;<BR>&nbsp;&nbsp;&nbsp; }</DIV><DIV>&nbsp;&nbsp;&nbsp; ((CXTPOffice2007Theme*)GetCommandBars()-&gt;GetPaintManager())-&gt;SetImageHandle(hModule, lpszIniFile);</DIV><DIV>&nbsp;&nbsp;&nbsp; GetCommandBars()-&gt;GetImageManager()-&gt;RefreshAll();<BR>&nbsp;&nbsp;&nbsp; GetCommandBars()-&gt;RedrawCommandBars();<BR>&nbsp;&nbsp;&nbsp; SendMessage(WM_NCPAINT);</DIV><DIV>&nbsp;&nbsp;&nbsp; m_paneManager.GetPaintManager()-&gt;RefreshMetrics();<BR>&nbsp;&nbsp;&nbsp; m_MTIClientWnd.GetPaintManager()-&gt;RefreshMetrics();<BR>&nbsp;&nbsp;&nbsp; CXTPPaintManager::SetTheme(xtpThemeRibbon);</DIV><DIV><BR>&nbsp;&nbsp;&nbsp; RedrawWindow(0, 0, RDW_ALLCHILDREN|RDW_INVALIDATE);</DIV><DIV>&nbsp;&nbsp;&nbsp; m_nRibbonStyle = nStyle;<BR>}</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 25 Jun 2009 15:35:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14616&amp;PID=50300&amp;title=13-1-problem-with-scenic-and-white-themes#50300</guid>
  </item> 
 </channel>
</rss>