<?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 : Ribbon and skin</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Ribbon and skin]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 03:53:34 +0000</pubDate>
  <lastBuildDate>Fri, 12 Oct 2007 14:34:03 +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=8409</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[Ribbon and skin : Problem fixed.  I have noted...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8409&amp;PID=27277&amp;title=ribbon-and-skin#27277</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3380">joffreyb</a><br /><strong>Subject:</strong> 8409<br /><strong>Posted:</strong> 12 October 2007 at 2:34pm<br /><br />Problem fixed.<DIV>&nbsp;</DIV><DIV>I have noted that (for&nbsp;me anyway) I can only use the BLUE theme for the ribbon combined with the Vista skin. If I include the Aqua theme for example coupled with Vista skin, it fails.</DIV><DIV>&nbsp;</DIV><DIV>I have to add this in my code for all styles to work with skins:</DIV><FONT size=2><P>XTPOffice2007Images()-&gt;SetHandle(AfxGetApp()-&gt;m_hInstance, CString(</FONT><FONT color=#a31515 size=2>"OFFICE2007AQUA_INI"</FONT><FONT size=2>));&nbsp; //or other appropriate INI</P><DIV></DIV><FONT color=#0000ff size=2><DIV>&nbsp;</DIV></FONT><DIV></DIV></FONT>]]>
   </description>
   <pubDate>Fri, 12 Oct 2007 14:34:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8409&amp;PID=27277&amp;title=ribbon-and-skin#27277</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon and skin : I did as show bellow;   #include...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8409&amp;PID=27232&amp;title=ribbon-and-skin#27232</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3380">joffreyb</a><br /><strong>Subject:</strong> 8409<br /><strong>Posted:</strong> 11 October 2007 at 1:59pm<br /><br />I did as show bellow; <DIV>&nbsp;</DIV><FONT color=#0000ff size=2><P>#include</FONT><FONT size=2> </FONT><FONT color=#a31515 size=2>&lt;XTToolkitPro.rc&gt;</P><DIV></FONT><FONT color=#008000 size=2>//#include "SkinFramework\Styles\vista\vista.rc"</DIV></FONT><FONT color=#0000ff size=2><P>#include</FONT><FONT size=2> </FONT><FONT color=#a31515 size=2>"Styles\Office2007Aqua\Office2007Aqua.rc"</P><DIV></DIV><P><FONT color=#000000>Also have this in my StdAfx.h</P><DIV></DIV><FONT color=#0000ff size=2><P>#define</FONT><FONT size=2> _XTP_STATICLINK</P></FONT><FONT color=#0000ff size=2><P>#include</FONT><FONT size=2> </FONT><FONT color=#a31515 size=2>&lt;XTToolkitPro.h&gt;</FONT><FONT size=2> </FONT><FONT color=#008000 size=2>// Codejock Software Components</P><DIV>&nbsp;</DIV><DIV><FONT color=#000000>As soon as I use a&nbsp;<FONT color=#008000>SkinFramework</FONT>, the ribbon fails&nbsp;because the theme manager cannot find the resources.</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>This test:&nbsp;<FONT size=2></DIV><P>CString csTmp = XTPOffice2007Images()-&gt;GetImageString(</FONT><FONT color=#a31515 size=2>"images"</FONT><FONT size=2>, </FONT><FONT color=#a31515 size=2>"ToolbarButtons50"</FONT><FONT size=2>);</P><DIV></FONT> returns a valid string only if I skip SkinFramework</DIV><DIV>&nbsp;</DIV><DIV>This is how I tried to skin:</DIV><DIV><FONT size=2><P>XTPSkinManager()-&gt;GetResourceFile()-&gt;SetModuleHandle(AfxGetInstanceHandle());</P></FONT><FONT size=2><P>XTPSkinManager()-&gt;SetApplyOptions(xtpSkinApplyMetrics | xtpSkinApplyFrame | xtpSkinApplyColors);</P><P>XTPSkinManager()-&gt;LoadSkin(NULL, _T(</FONT><FONT color=#a31515 size=2>"NORMALBLUE_INI"</FONT><FONT size=2>));</P><DIV></DIV></FONT></FONT></DIV></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Thu, 11 Oct 2007 13:59:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8409&amp;PID=27232&amp;title=ribbon-and-skin#27232</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon and skin :  I use the Ribbon and the SkinFramework...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8409&amp;PID=27231&amp;title=ribbon-and-skin#27231</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 8409<br /><strong>Posted:</strong> 11 October 2007 at 1:51pm<br /><br />I use the Ribbon and the SkinFramework in my app, and everything is linked statically in the release.<br><br>You also need to add #include "XTToolkitPro.rc" to your .rc2 file if you link the toolkit statically.<br><br>]]>
   </description>
   <pubDate>Thu, 11 Oct 2007 13:51:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8409&amp;PID=27231&amp;title=ribbon-and-skin#27231</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon and skin : Hello, Am I right to assume that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8409&amp;PID=27229&amp;title=ribbon-and-skin#27229</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3380">joffreyb</a><br /><strong>Subject:</strong> 8409<br /><strong>Posted:</strong> 11 October 2007 at 1:05pm<br /><br /><P>Hello,</P><P>Am I right to assume that a ribbon cannot coexist with the skinning offered by XTPSkinManager() (in static mode anyway) ?</P><DIV>If I try to add the two required files (style &amp; skinframework) to my RC2, it wont find the Office2007 images. If I only include <FONT color=#a31515 size=2>"Styles\Office2007Aqua\Office2007Aqua.rc", <FONT color=#000000>all windows created after are shown with missing parts.</FONT></FONT></DIV><DIV>&nbsp;</DIV><DIV>I noted that none of the samples show a ribbon based app that pops skinned windows. i.e. the ribbon sample that calls the OPEN FILE dialog pops it in its regular XP layout.</DIV><DIV>&nbsp;</DIV><DIV>Is there a way to succesfully combine the two includes to be able to <FONT color=#0033cc><EM>statically</EM> </FONT>use a skin AND a ribbon ?&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV>]]>
   </description>
   <pubDate>Thu, 11 Oct 2007 13:05:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8409&amp;PID=27229&amp;title=ribbon-and-skin#27229</guid>
  </item> 
 </channel>
</rss>