<?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 : Applying a theme to the whole interface</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Applying a theme to the whole interface]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 12:39:26 +0000</pubDate>
  <lastBuildDate>Wed, 23 Aug 2017 11:05:04 +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=23419</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[Applying a theme to the whole interface : Hello yves,About assertion - I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23419&amp;PID=76083&amp;title=applying-a-theme-to-the-whole-interface#76083</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23419<br /><strong>Posted:</strong> 23 August 2017 at 11:05am<br /><br />Hello yves,<br><br>About assertion - I can suppose that you forgot to call SetHandle() before SetTheme()<div><table width="99%"><tr><td><pre class="BBcode">XTPResourceImages()-&gt;SetHandle(hModule, lpszINI);</pre></td></tr></table><br>For example look at &nbsp;RibbonMDISample<br>CMainFrame::OnOptionsStyle() &gt; CMainFrame::SetCommandBarsTheme()</div><div><br>Regards,</div><div>&nbsp;Oleksandr Lebed</div>]]>
   </description>
   <pubDate>Wed, 23 Aug 2017 11:05:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23419&amp;PID=76083&amp;title=applying-a-theme-to-the-whole-interface#76083</guid>
  </item> 
  <item>
   <title><![CDATA[Applying a theme to the whole interface : Looking at the samples, it&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23419&amp;PID=76082&amp;title=applying-a-theme-to-the-whole-interface#76082</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9163">yves</a><br /><strong>Subject:</strong> 23419<br /><strong>Posted:</strong> 22 August 2017 at 2:36pm<br /><br /><div>Looking at the samples, it's not clear to me what the recommended and/or easiest way one should use to apply a theme (<span style="font-size: 11pt; font-family: Calibri, sans-serif;">e.g. xtpThemeVisualStudio2015</span>) to the <b>whole</b> UI (Main Frame, Ribbon, Toolbars, Panes, Status Bar, ...).</div><div><div><br></div><div>For example, if I add the following line</div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; &nbsp; &nbsp; XTPPaintManager()-&gt;SetTheme(xtpThemeVisualStudio2015);</font></div><div>as the end of my <font face="Courier New, Courier, mono">CMainFrame::OnCreate()</font> method, my program now asserts (<font face="Courier New, Courier, mono" size="1">ASSERT(NULL != m_pGroupNormal)</font>) on XTRibbonMarkupTheme.cpp#548 &nbsp;whereas it was running fine without it.</div></div><div><br></div><div>Anyone cares shedding some light on this whole topic of theming mechanism in the toolkit?</div><div><br></div><div>Thanks a lot!</div><div><br></div><div>Version 18.0.1 on Windows 10 w/ VS 2017.3 and SDK 8.1</div><div><br></div>]]>
   </description>
   <pubDate>Tue, 22 Aug 2017 14:36:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23419&amp;PID=76082&amp;title=applying-a-theme-to-the-whole-interface#76082</guid>
  </item> 
 </channel>
</rss>