<?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 : [SOLVED] Losing Skin after Modal</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : [SOLVED] Losing Skin after Modal]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 16 Apr 2026 23:18:57 +0000</pubDate>
  <lastBuildDate>Tue, 21 Sep 2010 07:45:36 +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=17216</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[[SOLVED] Losing Skin after Modal : Thank you for the feedback Xander,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17216&amp;PID=60359&amp;title=solved-losing-skin-after-modal#60359</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5535">Biox</a><br /><strong>Subject:</strong> 17216<br /><strong>Posted:</strong> 21 September 2010 at 7:45am<br /><br />Thank you for the feedback Xander, appreciated. <br><br>That worked perfectly, and the screens are displaying faster now also. What I have been using is the following, in a couple of apps, with varying results and performance. <br><br>&nbsp;&nbsp;&nbsp; SkinFramework.LoadSkin App.Path + "\styles\Office2007.cjstyles", ""<br>&nbsp;&nbsp;&nbsp; SkinFramework.ApplyWindow Me.hWnd<br>&nbsp;&nbsp;&nbsp; SkinFramework.ApplyOptions = SkinFramework.ApplyOptions Or xtpSkinApplyMetrics<br><br>One more question if you don't mind. I have a couple of modals that I display and I want to have a different colour Form so the modal can be readily seen in contract to the larger main form. <br><br>Would really appreciate if you could clue me in as to what lines of code I need to add to the Modal Form to just have that altered, and do I then need to reload the original style for the main form again when I go back to it ?&nbsp; For example lets say I just want the modal popup screen to be App.Path + "\Styles\Office2007.cjstyles", "NORMALAQUA.INI"<br><br>I've tried fiddling here but cannot get it working. <br><br>thanks in advance <br><br><br>]]>
   </description>
   <pubDate>Tue, 21 Sep 2010 07:45:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17216&amp;PID=60359&amp;title=solved-losing-skin-after-modal#60359</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Losing Skin after Modal :  As Oleg ssuggests you only need...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17216&amp;PID=60346&amp;title=solved-losing-skin-after-modal#60346</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 17216<br /><strong>Posted:</strong> 21 September 2010 at 4:54am<br /><br />As Oleg ssuggests you only need one SkinFramework control in your project, you need to use ".ApplyOptions" to set this to skin any form that opens from the main form.<br><br>Try using the following code in your main form:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp;&nbsp; With SkinFramework<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ExcludeModule "msado15.dll"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ExcludeModule "msdard.dll"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ExcludeModule "msjet40.dll"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ExcludeModule "msjetoledb40.dll"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ExcludeModule "msjiter40.dll"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ExcludeModule "msjint40.dll"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .LoadSkin App.Path + "\Styles\Office2007.cjstyles", ""<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ApplyWindow me.hWnd<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ApplyOptions = SkinFramework.ApplyOptions Or xtpSkinApplyMetrics<br>&nbsp;&nbsp;&nbsp; End With<br></pre></td></tr></table><br><br>PS. The reason for the ExcludeModule codes is that I have experienced crashes with the SkinFramework control when working with Databases under certain circumstances. This resolves the issues I have had, although I do only need .ExcludeModule "msado15.dll".]]>
   </description>
   <pubDate>Tue, 21 Sep 2010 04:54:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17216&amp;PID=60346&amp;title=solved-losing-skin-after-modal#60346</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Losing Skin after Modal : Thanks for the reply Oleg, However...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17216&amp;PID=60101&amp;title=solved-losing-skin-after-modal#60101</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5535">Biox</a><br /><strong>Subject:</strong> 17216<br /><strong>Posted:</strong> 09 September 2010 at 1:19am<br /><br />Thanks for the reply Oleg, <br><br>However when I do so, and then close the Modal that I have opened, I lose the skinning on the original MDIForm.<br><br>]]>
   </description>
   <pubDate>Thu, 09 Sep 2010 01:19:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17216&amp;PID=60101&amp;title=solved-losing-skin-after-modal#60101</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Losing Skin after Modal : Hi  You only need one instance...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17216&amp;PID=60100&amp;title=solved-losing-skin-after-modal#60100</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17216<br /><strong>Posted:</strong> 09 September 2010 at 1:03am<br /><br />Hi<br /><br />You only need one instance of Skinframework for whole application. Don't put additional control to Dialog - it should be on main application window only.]]>
   </description>
   <pubDate>Thu, 09 Sep 2010 01:03:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17216&amp;PID=60100&amp;title=solved-losing-skin-after-modal#60100</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Losing Skin after Modal :  Appreciate if you could assist...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17216&amp;PID=60082&amp;title=solved-losing-skin-after-modal#60082</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5535">Biox</a><br /><strong>Subject:</strong> 17216<br /><strong>Posted:</strong> 07 September 2010 at 8:24am<br /><br />Appreciate if you could assist with this as I cannot seem to find a solution. <br><br>&nbsp;&nbsp;&nbsp; SkinFramework.LoadSkin App.Path + "\styles\Office2007.cjstyles", ""<br>&nbsp;&nbsp;&nbsp; SkinFramework.ApplyWindow Me.hWnd<br><br>I use the above starting the VB app. <br><br>Then I display a Form<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmExportEmergencyInfo.Show vbModal<br><br>and that is skinned Ok. <br><br>However, when I close that, the main app loses it's skinning and just displays a normal looking VB form. <br><br>I'm stumped and I cannot find any CodeJock code examples which I feel is odd. There doesn't seem to be much by way of real world examples for SkinFramework. <br><br>thanks<br><br>]]>
   </description>
   <pubDate>Tue, 07 Sep 2010 08:24:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17216&amp;PID=60082&amp;title=solved-losing-skin-after-modal#60082</guid>
  </item> 
 </channel>
</rss>