<?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 : how to get skin names?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : how to get skin names?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 22:53:38 +0000</pubDate>
  <lastBuildDate>Thu, 28 Feb 2008 02:09:57 +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=9716</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[how to get skin names? : I see,  so I could use the version...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9716&amp;PID=31696&amp;title=how-to-get-skin-names#31696</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3786">soteris</a><br /><strong>Subject:</strong> 9716<br /><strong>Posted:</strong> 28 February 2008 at 2:09am<br /><br />I see,&nbsp; <DIV>so I could use the version info inside the dll, like the ProductName or the FileDescription or maybe its better to just use the file name when I display the Skin names&nbsp;to the user to select.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>S.</DIV>]]>
   </description>
   <pubDate>Thu, 28 Feb 2008 02:09:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9716&amp;PID=31696&amp;title=how-to-get-skin-names#31696</guid>
  </item> 
  <item>
   <title><![CDATA[how to get skin names? : Hi,  Open it in Studio it will...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9716&amp;PID=31664&amp;title=how-to-get-skin-names#31664</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9716<br /><strong>Posted:</strong> 27 February 2008 at 11:15am<br /><br />Hi, <DIV>Open it in Studio it will show all ini files in these dlls.</DIV>]]>
   </description>
   <pubDate>Wed, 27 Feb 2008 11:15:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9716&amp;PID=31664&amp;title=how-to-get-skin-names#31664</guid>
  </item> 
  <item>
   <title><![CDATA[how to get skin names? : Hello How can I find the name...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9716&amp;PID=31649&amp;title=how-to-get-skin-names#31649</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3786">soteris</a><br /><strong>Subject:</strong> 9716<br /><strong>Posted:</strong> 27 February 2008 at 8:46am<br /><br />Hello<DIV>How can I find the name of a skin? </DIV><DIV>( I am trying to load the names of all skin files in a list control using <FONT color=#ffffff size=2>C<FONT color=#ff0066>FileFind ff; ... .. . .</FONT></FONT>)</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I have tried this:</DIV><DIV><FONT face="Courier New, Courier, mono" color=#cc0033><FONT size=2>XTPSkinManager()-&gt;SetApplyOptions(XTPSkinManager()-&gt;GetApplyOptions() | xtpSkinApplyMetrics);</FONT></FONT><FONT face="Courier New, Courier, mono" color=#cc0033></DIV><DIV></FONT><FONT face="Courier New, Courier, mono" color=#cc0033 size=2><P>// XTPSkinManager()-&gt;LoadSkin(_T(".\\styles\\Basic.cjstyles"));</P></FONT><P><FONT face="Courier New, Courier, mono" color=#cc0033 size=2>XTPSkinManager()-&gt;LoadSkin(_T".\\styles\\Fresco.msstyles"));</FONT></P><P><FONT size=2><FONT face="Courier New, Courier, mono" color=#cc0033>CXTPSkinManagerResourceFile *pResFile = </FONT><FONT face="Courier New, Courier, mono" color=#cc0033>new</FONT><FONT face="Courier New, Courier, mono" color=#cc0033> CXTPSkinManagerResourceFile();</FONT></FONT></P><P><FONT face="Courier New, Courier, mono" color=#cc0033 size=2>//pResFile-&gt;sem_pManager = XTPSkinManager();</FONT></P><P><FONT face="Courier New, Courier, mono" color=#cc0033 size=2>CString strResourcePath = _T(".\\styles\\Fresco.msstyles");</FONT></P><P><FONT size=2><FONT face="Courier New, Courier, mono" color=#cc0033>if</FONT><FONT face="Courier New, Courier, mono" color=#cc0033> (!pResFile-&gt;Open(strResourcePath, _T(""))) </FONT><FONT face="Courier New, Courier, mono" color=#cc0033>return;</P><DIV>C</FONT></FONT><FONT face="Courier New, Courier, mono" color=#cc0033 size=2>XTPSkinManagerSchema* pSchema = pResFile-&gt;CreateSchema();</FONT></DIV><P><FONT size=2><FONT face="Courier New, Courier, mono" color=#cc0033>if</FONT><FONT face="Courier New, Courier, mono" color=#cc0033> (!pSchema) </FONT><FONT face="Courier New, Courier, mono" color=#cc0033>return</FONT><FONT face="Courier New, Courier, mono" color=#cc0033>;</FONT></FONT></P><P><FONT size=2><FONT face="Courier New, Courier, mono" color=#cc0033>if</FONT><FONT face="Courier New, Courier, mono" color=#cc0033> (FAILED(pSchema-&gt;ReadProperties(pResFile))) </FONT><FONT face="Courier New, Courier, mono" color=#cc0033>return</FONT><FONT face="Courier New, Courier, mono" color=#cc0033>;</FONT></FONT></P><P><FONT face="Courier New, Courier, mono" color=#cc0033 size=2>CString themename = pSchema-&gt;getGetSchemaName();</FONT></P><P><FONT face="Courier New, Courier, mono" color=#cc0033 size=2>UINT themecode = pSchema-&gt;GetClassCode(themename);</FONT></P><P><FONT face="Courier New, Courier, mono" color=#cc0033><FONT size=2>//SAFE_DELETE(m_pResourceFile); </FONT></P><DIV></FONT><FONT color=#cc0033><FONT face="Courier New, Courier, mono" size=2>pResFile-&gt;Close();</FONT></FONT></DIV><DIV><FONT color=#cc0033>&nbsp;</DIV><DIV><FONT face="Courier New, Courier, mono" color=#000000 size=2>But all I get in schema name "Default" . . am I doing something wrong or is the name not set in the skin file?</FONT></DIV><DIV><FONT face="Courier New" color=#000000 size=2></FONT>&nbsp;</DIV><DIV><FONT face="Courier New" color=#000000 size=2></FONT>&nbsp;</DIV></FONT></DIV>]]>
   </description>
   <pubDate>Wed, 27 Feb 2008 08:46:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9716&amp;PID=31649&amp;title=how-to-get-skin-names#31649</guid>
  </item> 
 </channel>
</rss>