<?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 : two different cjstyles on same form (vb6)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : two different cjstyles on same form (vb6)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 11:07:08 +0000</pubDate>
  <lastBuildDate>Wed, 13 Mar 2013 09:51:17 +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=17961</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[two different cjstyles on same form (vb6) : there is a way to pay a customization?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=70398&amp;title=two-different-cjstyles-on-same-form-vb6#70398</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7910">2bit</a><br /><strong>Subject:</strong> 17961<br /><strong>Posted:</strong> 13 March 2013 at 9:51am<br /><br />there is a way to pay a customization?]]>
   </description>
   <pubDate>Wed, 13 Mar 2013 09:51:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=70398&amp;title=two-different-cjstyles-on-same-form-vb6#70398</guid>
  </item> 
  <item>
   <title><![CDATA[two different cjstyles on same form (vb6) : Sorry, it after going through...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=70397&amp;title=two-different-cjstyles-on-same-form-vb6#70397</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 17961<br /><strong>Posted:</strong> 13 March 2013 at 9:47am<br /><br />Sorry, it after going through the code it appears this isn't possible with the push buttons. &nbsp;You would need to use regular command buttons to do this.]]>
   </description>
   <pubDate>Wed, 13 Mar 2013 09:47:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=70397&amp;title=two-different-cjstyles-on-same-form-vb6#70397</guid>
  </item> 
  <item>
   <title><![CDATA[two different cjstyles on same form (vb6) : have you got any idea about this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=69857&amp;title=two-different-cjstyles-on-same-form-vb6#69857</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7910">2bit</a><br /><strong>Subject:</strong> 17961<br /><strong>Posted:</strong> 05 March 2013 at 12:25pm<br /><br />have you got any idea about this problem?]]>
   </description>
   <pubDate>Tue, 05 Mar 2013 12:25:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=69857&amp;title=two-different-cjstyles-on-same-form-vb6#69857</guid>
  </item> 
  <item>
   <title><![CDATA[two different cjstyles on same form (vb6) : it&amp;#039;s not ok. the pushbutton...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=69827&amp;title=two-different-cjstyles-on-same-form-vb6#69827</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7910">2bit</a><br /><strong>Subject:</strong> 17961<br /><strong>Posted:</strong> 05 March 2013 at 2:02am<br /><br />it's not ok. the pushbutton receives from SkinFramework.loadSkin the global skin, but when I apply single SetWindowTheme... it ignores command.<div>this is the code: a sample with 48 windows command button &nbsp;and a pushbutton.</div><div>I have modify Office2007 skin to have an added skin named "redskin.ini"&nbsp;</div><div><br></div><div><div>Private Sub Form_Load()</div><div><br></div><div>SkinFramework1.LoadSkin App.Path &amp; "\Office20071.cjstyles", "LightBlue.INI"</div><div>SkinFramework1.ApplyWindow Me.hWnd</div><div><br></div><div>Dim i As Integer</div><div><br></div><div><br></div><div>For i = 0 To 47</div><div>&nbsp; &nbsp; If i Mod 3 = 0 Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Set skinSchema(i) = SkinFramework1.CreateSchema(App.Path &amp; "\Office20071.cjstyles", "LightBlue.INI")</div><div>&nbsp; &nbsp; ElseIf i Mod 3 = 1 Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Set skinSchema(i) = SkinFramework1.CreateSchema(App.Path &amp; "\Office20071.cjstyles", "NormalAqua.INI")</div><div>&nbsp; &nbsp; ElseIf i Mod 3 = 2 Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Set skinSchema(i) = SkinFramework1.CreateSchema(App.Path &amp; "\Office20071.cjstyles", "Redskin.ini")</div><div>&nbsp; &nbsp; End If</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; SkinFramework1.SetWindowTheme Command1(i).hWnd, skinSchema(i)</div><div>Next</div><div><br></div><div>&nbsp; &nbsp; Set skinSchema(48) = SkinFramework1.CreateSchema(App.Path &amp; "\Office20071.cjstyles", "Redskin.INI")</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp; SkinFramework1.SetWindowTheme PushButton1.hWnd, skinSchema(48)</div><div>&nbsp; &nbsp; PushButton1.Appearance = PushButton1.Appearance</div><div><br></div><div>End Sub</div></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 05 Mar 2013 02:02:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=69827&amp;title=two-different-cjstyles-on-same-form-vb6#69827</guid>
  </item> 
  <item>
   <title><![CDATA[two different cjstyles on same form (vb6) :  try using XP or default theme...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=69813&amp;title=two-different-cjstyles-on-same-form-vb6#69813</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 17961<br /><strong>Posted:</strong> 04 March 2013 at 4:49pm<br /><br />try using XP or default theme for the push button, then apply skin]]>
   </description>
   <pubDate>Mon, 04 Mar 2013 16:49:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=69813&amp;title=two-different-cjstyles-on-same-form-vb6#69813</guid>
  </item> 
  <item>
   <title><![CDATA[two different cjstyles on same form (vb6) : dear, my name is Marco. Using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=69795&amp;title=two-different-cjstyles-on-same-form-vb6#69795</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7910">2bit</a><br /><strong>Subject:</strong> 17961<br /><strong>Posted:</strong> 03 March 2013 at 8:18am<br /><br />dear, my name is Marco. Using vb6 command button on the prj sample there is not problem.<div>Using Codejock pushbutton the&nbsp;SetWindowTheme does not apply the right schema and pushbutton keeps the global skin loaded &nbsp;with the loadskin method. What may be the problem?</div>]]>
   </description>
   <pubDate>Sun, 03 Mar 2013 08:18:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=69795&amp;title=two-different-cjstyles-on-same-form-vb6#69795</guid>
  </item> 
  <item>
   <title><![CDATA[two different cjstyles on same form (vb6) : thx oleg!Best,A. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=63132&amp;title=two-different-cjstyles-on-same-form-vb6#63132</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6647">auto160</a><br /><strong>Subject:</strong> 17961<br /><strong>Posted:</strong> 06 March 2011 at 4:46am<br /><br />thx oleg!<div>Best,</div><div>A.</div>]]>
   </description>
   <pubDate>Sun, 06 Mar 2011 04:46:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=63132&amp;title=two-different-cjstyles-on-same-form-vb6#63132</guid>
  </item> 
  <item>
   <title><![CDATA[two different cjstyles on same form (vb6) : Actually you made all right. Only...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=63112&amp;title=two-different-cjstyles-on-same-form-vb6#63112</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17961<br /><strong>Posted:</strong> 04 March 2011 at 6:46am<br /><br />Actually you made all right. Only name of ini in your code should be "NormalBlue.ini" and&nbsp;"NormalGreen.ini"<div><br></div><div><br></div><div>so such code works for me</div><div><br></div><div><br></div><div><div>Private Sub Form_Load()</div><div><br></div><div>' Main application skin &nbsp; &nbsp;</div><div>&nbsp;&nbsp; &nbsp;SkinFramework1.LoadSkin App.Path &amp; "\Codejock.cjstyles", ""</div><div>&nbsp;&nbsp; &nbsp;SkinFramework1.ApplyWindow Me.hWnd</div><div><br></div><div>&nbsp;&nbsp; Set MyBlueSchema = SkinFramework1.CreateSchema(App.Path &amp; "\Buttons.cjstyles", "NormalBlue.ini")</div><div>&nbsp;&nbsp; SkinFramework1.SetWindowTheme Command1.hWnd, MyBlueSchema</div><div>&nbsp;&nbsp;&nbsp;</div><div>&nbsp;&nbsp; Set MyBlueSchema = SkinFramework1.CreateSchema(App.Path &amp; "\Buttons.cjstyles", "NormalGreen.ini")</div><div>&nbsp;&nbsp; SkinFramework1.SetWindowTheme Command2.hWnd, MyBlueSchema</div><div>&nbsp;&nbsp;&nbsp;</div><div>End Sub</div></div><div><br></div>]]>
   </description>
   <pubDate>Fri, 04 Mar 2011 06:46:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=63112&amp;title=two-different-cjstyles-on-same-form-vb6#63112</guid>
  </item> 
  <item>
   <title><![CDATA[two different cjstyles on same form (vb6) : Also you only use 1 instance of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=63087&amp;title=two-different-cjstyles-on-same-form-vb6#63087</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 17961<br /><strong>Posted:</strong> 03 March 2011 at 9:28am<br /><br />Also you only use 1 instance of skin framework like in the sample.&nbsp; For it to work you must apply a skin to the to the app like in the sample, only then will skinning individual objects work.]]>
   </description>
   <pubDate>Thu, 03 Mar 2011 09:28:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=63087&amp;title=two-different-cjstyles-on-same-form-vb6#63087</guid>
  </item> 
  <item>
   <title><![CDATA[two different cjstyles on same form (vb6) :  If you look at our skin MDI...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=63086&amp;title=two-different-cjstyles-on-same-form-vb6#63086</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 17961<br /><strong>Posted:</strong> 03 March 2011 at 9:25am<br /><br />If you look at our skin MDI sample open it and add this to the frmDialogBar form for a different skin for each button on that form:<br><br>Private Sub Form_Load()<br><br>&nbsp;&nbsp;&nbsp; Dim skinSchemaTemp As SkinSchema<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Set skinSchemaTemp = fMainForm.SkinFramework.CreateSchema(App.Path + "..\..\..\..\SkinFramework\Styles\Office2007.cjstyles", "NormalBlack.INI")<br>&nbsp;&nbsp;&nbsp; fMainForm.SkinFramework.SetWindowTheme cmdColorDialog.hWnd, skinSchemaTemp<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Set skinSchemaTemp = fMainForm.SkinFramework.CreateSchema(App.Path + "..\..\..\..\SkinFramework\Styles\WinXP.Luna.cjstyles", "NormalBlue.INI")<br>&nbsp;&nbsp;&nbsp; fMainForm.SkinFramework.SetWindowTheme cmdOpenDialog.hWnd, skinSchemaTemp<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Set skinSchemaTemp = fMainForm.SkinFramework.CreateSchema(App.Path + "..\..\..\..\SkinFramework\Styles\Office2007.cjstyles", "NormalSilver.INI")<br>&nbsp;&nbsp;&nbsp; fMainForm.SkinFramework.SetWindowTheme cmdPrintDialog.hWnd, skinSchemaTemp<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Set skinSchemaTemp = fMainForm.SkinFramework.CreateSchema(App.Path + "..\..\..\..\SkinFramework\Styles\WinXP.Luna.cjstyles", "NormalHomestead.INI")<br>&nbsp;&nbsp;&nbsp; fMainForm.SkinFramework.SetWindowTheme cmdFontDialog.hWnd, skinSchemaTemp<br>&nbsp;&nbsp;&nbsp; <br>End Sub<br><br>And in main form:<br>Private Sub MDIForm_Load()<br>&nbsp;&nbsp;&nbsp; SkinFramework.LoadSkin App.Path + "..\..\..\..\SkinFramework\Styles\Office2007.cjstyles", "NormalBlue.ini"<br>&nbsp;&nbsp;&nbsp; SkinFramework.ApplyWindow Me.hWnd<br>.....<br>End Sub<br>]]>
   </description>
   <pubDate>Thu, 03 Mar 2011 09:25:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17961&amp;PID=63086&amp;title=two-different-cjstyles-on-same-form-vb6#63086</guid>
  </item> 
 </channel>
</rss>