<?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 : Skins vs. Themes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : Skins vs. Themes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 15:04:13 +0000</pubDate>
  <lastBuildDate>Fri, 08 Dec 2006 13:01:54 +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=5728</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[Skins vs. Themes :   I have found 6 classes involved...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5728&amp;PID=18020&amp;title=skins-vs-themes#18020</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1227">esc67</a><br /><strong>Subject:</strong> 5728<br /><strong>Posted:</strong> 08 December 2006 at 1:01pm<br /><br /><DIV><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>I have found 6 classes involved with the appearance of the UI:</FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Courier New, Courier, mono" size=2>CXTPSkinManager</FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Courier New, Courier, mono"><FONT size=2>CXTThemeManager<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Courier New, Courier, mono" size=2>CXTPPaintManager</FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Courier New, Courier, mono" size=2>CXTPDockingPaneManager</FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Courier New, Courier, mono" size=2>CXTPPropertyGrid</FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Courier New, Courier, mono" size=2>CXTPOffice2007FrameHook</FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>I have an MDI application that uses all but the CXTPSkinManager and this gives me an Office2007 look’n’feel:</FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Courier New, Courier, mono"><FONT size=2>m_ThemeManager.SetTheme(xtThemeOffice2003);<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Courier New, Courier, mono" size=2>paintManager::SetTheme(xtpThemeRibbon);<BR>dockingPaneManager.SetTheme(xtpPaneThemeOffice2007);</FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Courier New, Courier, mono" size=2>m_propertyGrid.SetTheme(xtpGridThemeWhidbey);</FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>Now I tried adding a 3<SUP>rd</SUP> party skin:</FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Courier New, Courier, mono" size=2>XTPSkinManager()-&gt;LoadSkin(GetStylesPath() + _T("AA.msstyles"));</FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>At this point several dialogs are skinned, but my MDI frame and property grid, etc. still have the 2007 look.</FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>If I comment out the 4 SetTheme calls and call CXTPOffice2007FrameHook:: EnableOffice2007Frame(0) then things look pretty reasonable, although the close box and thumbtack in docking panes look old.</FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>Is this the proper way to implement skins? Are skins a complete replacement for themes? What about CXTPOffice2007FrameHook?</FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></P><FONT size=1></DIV></FONT>]]>
   </description>
   <pubDate>Fri, 08 Dec 2006 13:01:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5728&amp;PID=18020&amp;title=skins-vs-themes#18020</guid>
  </item> 
 </channel>
</rss>