Code Samples for:
SkinCrafter allows VC++ developers to easily customize MFC-based applications with professional GUI skins.
Would you like to skin your MFC-based application developed on Visual C++ with exclusive GUI skin? Take advantage of our SkinCrafter ActiveX/DLL GUI skinning component which supports all Win32 languages (Visual C++, Visual Basic, Delphi and others). This page is aimed to cover the important question about SkinCrafter skinning library integration in VC++ project and C++ skin applying as well. SkinCrafter creators are going to walk you through each VC++ code line of the skinning component integration process to make it clear for you with the help of explicative comments.
Programming code below shows skinning library integration into Visual C++ application where GUI is developed with MFC resources:
VC++
ISCSkin3 *m_pSkin = new ISCSkin3;
// The code in CODE SECTION has to be called in InitInstance() function,
// before creation of a main window
/* ———— Begin of CODE SECTION ————- */
CoInitialize(NULL);
m_pSkin->CreateDispatch(”SkinCrafter.SCSkin3″);
m_pSkin->InitLicenKeys(”SKINCRAFTER”,”SKINCRAFTER.COM”,
“esupport@skincrafter.com”,”DEMOSKINCRAFTERLICENCE”);
m_pSkin->DefineLanguage(0);
m_pSkin->InitDecoration(1);
/* ———— End of CODE SECTION ————- */
m_pSkin->LoadSkinFromFile(”D:\\Skin.skf”);
m_pSkin->ApplySkin();
In case, for some unexplained reason you are still having a problem with skin applying in VC++ code, please, take advantage of the services offered by our dedicated team. Our guys will help you to solve your problem in the shortest time possible.
SkinCrafter allows C# developers to easily customize .NET applications with professional C# skins.
Skinners working with GUI development on C# are often interested in the question of how to make the face of their projects stylish. And at the same time they don’t want to spend a lot of time on it. With several lines of C# code presented here you can reach the result you wish by integrating SkinCrafter.Net component in your program. It was specially developed for those who choose .Net Framework for theirs projects. Owing to skinning .Net component you can make an eye-catching C# skins for your program from scratch.
Sample code presented below illustrates how to integrate SkinCrafter .Net component
and apply C# skins working with Window Forms (.Net platform):
C#
// The code in CODE SECTION has to be called in Main() function,
// before Application.Run()
using DMSoft;
…
DMSoft.SkinCrafter.Init();
/* ———— Begin of CODE SECTION ————- */
DMSoft.SkinCrafter SkinOb = new DMSoft.SkinCrafter();
SkinOb.InitLicenKeys(”SKINCRAFTER”,”SKINCRAFTER.COM”,
“esupport@skincrafter.com”,”DEMOSKINCRAFTERLICENCE”);
SkinOb.InitDecoration(true);
/* ———— End of CODE SECTION ————- */
SkinOb.LoadSkinFromFile(”D:\\Skin.skf”);
SkinOb.ApplySkin();
Application.Run(new Form1());
SkinOb.DeInitDecoration();
DMSoft.SkinCrafter.Terminate();
In case, for some unexplained reason you are still having a problem with C# skins applying, please, take advantage of the services offered by our dedicated team. Our guys will help you solve your problem with C# skinning in the shortest time possible.
SkinCrafter allows VB skinners to easily customize their applications with professional GUI skins.
Is your VB program still waiting for you to decide to dress it with VB skin? If you have doubt in the possibilities we offer with our skinning library try to insert several lines of VB code presented below and VB skin you’ll choose can be easily applied. As you can see the initializing of SkinCrafter library in VB project can be done in several steps which are explained with detailed comments.
VB
Private SkinOb As New SKINCRAFTERLib.SCSkin3
‘ The code in CODE SECTION has to be called in Form_Initialize() function
‘ ——— Begin of CODE SECTION ———- ‘
SkinOb.InitLicenKeys “SKINCRAFTER”,”SKINCRAFTER.COM”,
“esupport@skincrafter.com”,”DEMOSKINCRAFTERLICENCE”
SkinOb.DefineLanguage 2
SkinOb.InitDecoration 1
‘ ——— End of CODE SECTION ———- ‘
SkinOb.LoadSkinFromFile “D:\\Skin.skf”
SkinOb.ApplySkin
Important to know that beginning from SkinCrafter v 1.4.8 a new small AciveX component has been included in the install package. Further, it is specified as SCLabel which is specially designed for VB skinners. As all label controls are windowless in VB, SkinCrafter is unable to skin it properly. We suggest using an AddDrawText method to display any text over the VB skins, but now a better solution has been found. To resolve the situation SCLabel should be used instead of standard labels. To skin your existing Visual Basic projects just replace the Labels with SCLabels and do your skinning as usual. For SCLabel to be available in designer, go to “Project\Components…” menu (or press Ctrl+T) and check “SCLabel ActiveX Control module”
One more thing to mention is that SCLabel also needs to be registered when distributing with your application, just like all AcriveX components.
In case for some unexplained reason you are still having a problem with VB GUI skinning, please, take advantage of the services offered by our dedicated team. Our guys will help you solve your problem in the shortest time possible.
SkinCrafter allows software developers to easily skin VB.NET applications with professional GUI skins.
If you are looking for the quality software that enables you to skin VB.Net application you are at the right place. Instead of going through the theory let’s start with SkinCrafter library integration and code writing. To skin VB.NET application developed in the MS .NET Framework it will be enough to add VB.Net code presented below and initialization is consider to be well done.
VB .Net
Imports DMSoft
…
Public SkinOb As DMSoft.SkinCrafter
‘ The code in CODE SECTION has to be called before InitializeComponent() function
‘ ——— Begin of CODE SECTION ———- ‘
DMSoft.SkinCrafter.Init()
SkinOb = New DMSoft.SkinCrafter
‘These function parameters are used for Skincrafter DEMO
SkinOb.InitLicenKeys( “SKINCRAFTER”, “SKINCRAFTER.COM”,
“esupport@skincrafter.com”, “DEMOSKINCRAFTERLICENCE”)
SkinOb.InitDecoration(1)
‘ ——— End of CODE SECTION ———- ‘
SkinOb.LoadSkinFromFile(”C:\\Program Files\\SkinCrafter.Net\\Skins\\Amazonite.skf”)
SkinOb.ApplySkin()
In case, for some unexplained reason you are still having a problem with VB.Net GUI skinning, please, take advantage of the services offered by our dedicated team. Our guys will help you solve your problem in the shortest time possible.
SkinCrafter allows software developers to easily skin Delphi applications with professional GUI skins.
Concentrating exclusively of GUI skinning, this page offers Delphi developers an in-depth look how to improve the aesthetic and graphics face of the Delphi applications. As well it demonstrates how to complete skinning library integration with sample Delphi code presented below more effectively and in a short term.
Delphi
var
CSkin:CoSCSkin3;
ISkin:ISCSkin3;
begin
Application.Initialize;
ISkin := CSkin.Create;
ISkin.InitLicenKeys(’SKINCRAFTER’,'SKINCRAFTER.COM’,
‘esupport@skincrafter.com’,'DEMOSKINCRAFTERLICENCE’);
ISkin.DefineLanguage(3);
ISkin.InitDecoration(1);
ISkin.LoadSkinFromFile(’D:\\Skin.skf’);
ISkin.ApplySkin();
end
In case, for some unexplained reason you are still having a problem with Delphi project skinning, please, take advantage of the services offered by our dedicated team. Our guys will help you solve your problem in the shortest time possible.
Get nice results with skinned CBuilder applications.
Dear C Builder professional,
We know how expensive is the time now, that’s why we offer you to try our skinning engine.
SkinCrafter will save you the long hours you would spend on customizing the Standard user interface.
All Standard Controls and window’s frames will be just turned into a nice design with just several lines of code.
Add SkinCrafter component into the references of your project, initialize SC engine and you see the great result performed over your software.
CBuilder
Application->Initialize();
IID IID_ISCSkin3 =
{0×7235966D,0×13A0,0×4C2B,
{0xAA,0×81,0xE8,0×6C,0xE0,0×61,0×88,0xB3}};
CLSID CLSID_SCSkin3 =
{0×4A1AD3DC,0xC299,0×4481,
{0×9E,0×79,0×8A,0×65,0×10,0×78,0×2F,0×03}};
CoInitialize(NULL);
ISCSkin3* pUnk;
pUnk = NULL;
CoCreateInstance(CLSID_SCSkin3,NULL,
CLSCTX_SERVER,IID_ISCSkin3,(void**)&pUnk);
TCOMISCSkin3 SkinOb(pUnk);
SkinOb.InitLicenKeys(L”SKINCRAFTER”,L”SKINCRAFTER.COM”,
L”esupport@skincrafter.com”,L”DEMOSKINCRAFTERLICENCE”);
SkinOb.DefineLanguage(3);
SkinOb.InitDecoration(1);
SkinOb.LoadSkinFromFile(L”Stylish.skf”);
SkinOb.ApplySkin();
Application->CreateForm(__classid(TForm1), &Form1);
Application->Run();
SkinOb.DeInitDecoration();
In case, for some unexplained reason you are still having a problem with skin applying in CBuilder code, please, take advantage of the services offered by our dedicated team. Our guys will help you to solve your problem in the shortest time possible.
Skins feature in PowerBuilder applications - that’s what SkinCrafter is the best for.
What we offer to you is a simple way to bring a nice and professional appearence to your Power Builder application. You may use our free SkinBuilder to create your own skin or choose some from our Skin Gallery, where a banch of skins for different styles and tastes are available for free. Moreover, you like one of our skins but need to modify it somehow to fit your specific application? Go ahead and modify, as all of our licensed customers are granted a right to use, destribute and modify all of the skins with no additional payments.
Power Builder
OLEObject SkinOb
SkinOb = CREATE oleobject
SkinOb.ConnectToNewObject(”SkinCrafter.SCSkin3″)
SkinOb.InitLicenKeys(”SKINCRAFTER”, “SKINCRAFTER.COM”,
“esupport@skincrafter.com”, “DEMOSKINCRAFTERLICENCE”)
SkinOb.InitDecoration(1)
SkinOb.LoadSkinFromFile
(”C:\Program Files\SkinCrafter\Skins\Stylish.skf”)
SkinOb.ApplySkin()
In case, for some unexplained reason you are still having a problem with skin applying in Power Builder code, please, take advantage of the services offered by our dedicated team. Our guys will help you to solve your problem in the shortest time possible.
