![]() |
cjstyles and msstyles |
Post Reply
|
| Author | |
origos
Groupie
Joined: 28 March 2008 Location: Mexico Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
Topic: cjstyles and msstylesPosted: 28 March 2008 at 3:33am |
|
I downloaded third party styles from the links recomended on Codejock web site and changed the path in the SkinControls sample project to point to the new styles. The style is not applied to the controls.
I even tried with the luna.msstyles in Windows\Resouces\Themes folder and no, it wasn't loaded either. If have browsed the forum looking for the correct way to apply styles not included with Codejock, but I couldn't find what am I doing wrong. Sorry to bother you with this, probably is a very silly thing I have omitted, but I don't know what else to try. Please help. Thanks! |
|
|
Enjoy life. Everything is OK... |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 March 2008 at 7:04am |
|
Hi,
Did you try our samples ?
Did they work for you ?
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
origos
Groupie
Joined: 28 March 2008 Location: Mexico Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 March 2008 at 7:50am |
|
Yes.
Thanks for answering. I finally found out what I was missing: the name of the ini file inside the msstyles dll. I was changing the dll but didn't know that "NormalBlue.ini" is not in Windows XP Luna.msstyles. I replaced that name with a zero lenght string and now it is working pretty cool! How can I know the name of the ini files inside the dll? Thanks again! EJZ |
|
|
Enjoy life. Everything is OK... |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 March 2008 at 11:33am |
|
Can always open them in SkinBulder
![]() Or you could use EnumerateSkinFile to determine all available ini files in the dll. But here are the styles available. Office2007.cjstyles: -NORMALAQUA.INI -NORMALBLUE.INI Vista.cjstyles: -NORMALBLACK.INI -NORMALBLUE.INI -NORMALSILVER.INI WinXP.Luna.cjstyles: -EXTRALARGEBLUE.INI -EXTRALARGEHOMESTEAD.INI -EXTRALARGEMETALLIC.INI -LARGEBLUE.INI -LARGEHOMESTEAD.INI -LARGEMETALLIC.INI -NORMALBLUE.INI -NORMALHOMESTEAD.INI -NORMALMETALLIC.INI WinXP.Royale.cjstyles: -EXTRALARGEFONTSROYALE.INI -LARGEFONTSROYALE.INI -NORMALROYALE.INI |
|
![]() |
|
origos
Groupie
Joined: 28 March 2008 Location: Mexico Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 March 2008 at 6:03am |
|
I googled SkinBuilder and it took me to SkinCrafter SkinBuilder.
Is this the right one? Back to the Skin Controls Codejock sample project, one of the option buttons for skin selection is "System". When this option is selected the controls revert to "No skin" - SkinFramework.LoadSkin "", "" I would like to change that so when my users select "System" the current Windows Theme is used (I use VB6 and XP, so "no skin" is not very pleasant :) How can I do that? How can I know what theme the user has selected for his Windows system and the path (and ini) for that msstyle file? Would it be the same procedure in XP and Vista environments? Thanks guys! And thanks Codejock for supporting VB6 users and continue to improve their ActiveX products. Most other parties already stop developing for ActiveX. |
|
|
Enjoy life. Everything is OK... |
|
![]() |
|
corpcon
Groupie
Joined: 28 June 2007 Status: Offline Points: 70 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 March 2008 at 3:48pm |
|
Just for clarification... There's no way that controls, such as the Codejock TabControl, can replicate colors such as the Office2007 aqua, or the Vista Black or Silver, like it can the Office2007 blue ... Correct? At present, I'm resolved to just use Default in those instances. Any chance that the range of colors for these basic styles will be increased? |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 31 March 2008 at 1:39am |
No, We include our own skinbuilder in v12 Beta |
|
![]() |
|
origos
Groupie
Joined: 28 March 2008 Location: Mexico Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
Posted: 31 March 2008 at 4:19am |
|
Is there an easy way to know what theme has the user selected in Windows (XP and Vista) and the path to that msstyle?
|
|
|
Enjoy life. Everything is OK... |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |