<?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 create cjstyle file from msstyle</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : how to create cjstyle file from msstyle]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 00:26:21 +0000</pubDate>
  <lastBuildDate>Wed, 07 May 2008 11:47:50 +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=10531</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 create cjstyle file from msstyle : thanks for your response.that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10531&amp;PID=34874&amp;title=how-to-create-cjstyle-file-from-msstyle#34874</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4153">stenn</a><br /><strong>Subject:</strong> 10531<br /><strong>Posted:</strong> 07 May 2008 at 11:47am<br /><br />thanks for your response.<br><br>that worked.&nbsp; i'm a bit fuzzy on what the ini file is for (i'll investigate)<br><br>a suggestion: <br>some form of return code or error code somewhere that would give me a hint as to what the problem was would be very helpful<br><br>thanks again (now playing with menus... not supported.. tweaking to command bars...)<br><br><br>]]>
   </description>
   <pubDate>Wed, 07 May 2008 11:47:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10531&amp;PID=34874&amp;title=how-to-create-cjstyle-file-from-msstyle#34874</guid>
  </item> 
  <item>
   <title><![CDATA[how to create cjstyle file from msstyle : Hi, try instaed  &amp;#034;_T(&amp;#...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10531&amp;PID=34872&amp;title=how-to-create-cjstyle-file-from-msstyle#34872</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10531<br /><strong>Posted:</strong> 07 May 2008 at 11:41am<br /><br />Hi,<DIV>try instaed </DIV><DIV>"<FONT face="Courier New" size=2>_T("NormalBlue.ini"))</FONT></DIV><DIV><FONT face="Courier New" size=2>use NULL</FONT></DIV>]]>
   </description>
   <pubDate>Wed, 07 May 2008 11:41:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10531&amp;PID=34872&amp;title=how-to-create-cjstyle-file-from-msstyle#34872</guid>
  </item> 
  <item>
   <title><![CDATA[how to create cjstyle file from msstyle : this is a basic mfc dialog sample....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10531&amp;PID=34864&amp;title=how-to-create-cjstyle-file-from-msstyle#34864</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4153">stenn</a><br /><strong>Subject:</strong> 10531<br /><strong>Posted:</strong> 07 May 2008 at 10:02am<br /><br /><font face="Verdana, Arial, Helvetica, sans-serif">this is a basic mfc dialog sample.&nbsp; i modified the following method:<br><br>---<br></font><font face="Courier New, Courier, mono" size="2">BOOL Ctest03_skinsApp::InitInstance()<br>{<br>&nbsp; INITCOMMONCONTROLSEX InitCtrls;<br>&nbsp; InitCtrls.dwSize = sizeof(InitCtrls);<br>&nbsp; InitCtrls.dwICC = ICC_WIN95_CLASSES;<br>&nbsp; InitCommonControlsEx(&amp;InitCtrls);<br><br>&nbsp; CWinApp::InitInstance();<br>&nbsp; AfxEnableControlContainer();<br><br>&nbsp; //--&#091; CodeJock skin code &#093;-----------------------------------------------<br>&nbsp; CXTPWinDwmWrapper().SetProcessDPIAware();<br><br>&nbsp; TCHAR szStylesPath&#091;_MAX_PATH&#093;;<br>&nbsp; CString m_strStylesPath;<br><br>&nbsp; VERIFY(::GetModuleFileName(AfxGetApp()-&gt;m_hInstance, szStylesPath, _MAX_PATH));&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; <br>&nbsp; m_strStylesPath = szStylesPath;<br>&nbsp; int nIndex&nbsp; = m_strStylesPath.ReverseFind(_T('\\'));<br>&nbsp; if (nIndex &gt; 0) {<br>&nbsp;&nbsp;&nbsp; m_strStylesPath = m_strStylesPath.Left(nIndex);<br>&nbsp; }<br>&nbsp; else {<br>&nbsp;&nbsp;&nbsp; m_strStylesPath.Empty();<br>&nbsp; }<br>&nbsp; m_strStylesPath += _T("\\..\\Styles\\");<br><br>&nbsp; XTPSkinManager()-&gt;SetApplyOptions(XTPSkinManager()-&gt;GetApplyOptions() | xtpSkinApplyMetrics);<br><br>//&nbsp; XTPSkinManager()-&gt;LoadSkin(m_strStylesPath + _T("Office2007.cjstyles"), _T("NormalBlue.ini"));&nbsp;&nbsp;&nbsp; <br>&nbsp; XTPSkinManager()-&gt;LoadSkin(m_strStylesPath + _T("DXB.cjstyles"), _T("NormalBlue.ini"));&nbsp;&nbsp;&nbsp; <br><br>&nbsp; //--&#091; /CodeJock skin code &#093;----------------------------------------------<br><br>&nbsp; Ctest03_skinsDlg dlg;<br>&nbsp; m_pMainWnd = &amp;dlg;<br>&nbsp; INT_PTR nResponse = dlg.DoModal();<br>&nbsp; if (nResponse == IDOK)<br>&nbsp; {<br>&nbsp; }<br>&nbsp; else if (nResponse == IDCANCEL)<br>&nbsp; {<br>&nbsp; }<br>&nbsp; return FALSE;<br>}<br></font><font size="2"><br></font><font face="Verdana, Arial, Helvetica, sans-serif">---<br><br>please note... if i modify the call to LoadSkin such that is loads</font><font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Office2007 instead of DXB, it will render using the expected skin.&nbsp; <br><br>to create the DXB.cjstyles, i downloaded the skin from the skin page (yes, i know it's a 3rd party skin... i'm checking the ability to use such skins as there are more available)... and imported the msstyles file.&nbsp; then saved and exported the cjstyles file.<br><br>this is my understanding how it should be done.&nbsp; if this is not correct, please let me know.<br><br>also, i have not modified my </font>uxtheme.dll ... is that required in order for codejock skins to apply to my application?<br><font face="Verdana, Arial, Helvetica, sans-serif"><br><br><br></font>]]>
   </description>
   <pubDate>Wed, 07 May 2008 10:02:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10531&amp;PID=34864&amp;title=how-to-create-cjstyle-file-from-msstyle#34864</guid>
  </item> 
  <item>
   <title><![CDATA[how to create cjstyle file from msstyle : Hello,  Attach you cjstyles...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10531&amp;PID=34827&amp;title=how-to-create-cjstyle-file-from-msstyle#34827</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10531<br /><strong>Posted:</strong> 07 May 2008 at 1:29am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Attach you cjstyles in issuetrack/or here and show code you have to load it.</DIV>]]>
   </description>
   <pubDate>Wed, 07 May 2008 01:29:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10531&amp;PID=34827&amp;title=how-to-create-cjstyle-file-from-msstyle#34827</guid>
  </item> 
  <item>
   <title><![CDATA[how to create cjstyle file from msstyle : i have just started to work with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10531&amp;PID=34819&amp;title=how-to-create-cjstyle-file-from-msstyle#34819</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4153">stenn</a><br /><strong>Subject:</strong> 10531<br /><strong>Posted:</strong> 06 May 2008 at 5:21pm<br /><br />i have just started to work with the tool kit, so please bear with me.<br><br>i have tried to create a cjstyles file using an existing msstyle file (and components).&nbsp; i save the project... creating the .skinproj file... i then export to the cjstyles format... creating a cjstyles file.<br><br>but when i try to use it, using code that does load the predefined skins just fine, it does not load. <br><br>question:&nbsp; <br>do i need to change my uxtheme.dll file in order for the unsigned skins to work in xp?<br><br>thanks in advance,<br><br>stenn<br><br>ps: using winxpsp1<br>]]>
   </description>
   <pubDate>Tue, 06 May 2008 17:21:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10531&amp;PID=34819&amp;title=how-to-create-cjstyle-file-from-msstyle#34819</guid>
  </item> 
 </channel>
</rss>