Print Page | Close Window

XStremeSkinFramework OCx

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Visual C++ MFC
Forum Description: Topics related to Codejock Visual C++ MFC products
URL: http://forum.codejock.com/forum_posts.asp?TID=16404
Printed Date: 23 November 2024 at 6:14pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XStremeSkinFramework OCx
Posted By: bsil
Subject: XStremeSkinFramework OCx
Date Posted: 10 March 2010 at 9:46am
If i add XStremeSkinFramework  in a MFC MDI or SDI application it will autpmaticallly added the classes related to that ocx.

And then if i declared a object of CSkinFramework in CMainFrameWnd Class amd then call the LoadSkin function application gets debug assertion on winocc.app file.

Here is the sample code inside CMainFrame OnCreate :: funtion

    CSkinFramework *m_SkinFramework;
    m_SkinFramework->LoadSkin("C:\\Program Files\\Codejock Software\\ActiveX\\Xtreme SuitePro ActiveX v13.3.1 (30 Day Trial)\\Samples\\SkinFramework\\\Vb\\SkinSDISample\\Styles\\iTunes","Normalitunes.ini");
    m_SkinFramework->ApplyWindow ((long)m_hWnd);



-------------
Product: Xtreme SkinFramework
     Platform: Windows XP (32bit) - SP 2
     Language: Visual Basic 6.0, Visual C++ 6.0, VB.NET 2.0




Replies:
Posted By: Oleg
Date Posted: 10 March 2010 at 3:19pm

Hi,

I very recommend check MFC evaluating version. For MFC application, much better use MFC version of our controls.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: bsil
Date Posted: 11 March 2010 at 6:07am
Ok I get it. Thank you.
 
One more question though. My product has many applications made in VB6, VC6 and VB.NET. So I will use ActiveX for VB6 and VB.NET, and use MFC version for VC6. If I make custom skin files (*.cjstyles) using SkinBuilder tool, will it have any impact (visually) depending on the technology of (my) application? Will the the rendering of skins will behave differently in VB, VB.NET and VC?


-------------
Product: Xtreme SkinFramework
     Platform: Windows XP (32bit) - SP 2
     Language: Visual Basic 6.0, Visual C++ 6.0, VB.NET 2.0



Posted By: SuperMario
Date Posted: 11 March 2010 at 10:05am
You can use the same skin file for all.  The COM version is just the MFC version wrapped, so yes, they will behave the same.

See here for how to use the skin builder:

http://forum.codejock.com/forum_posts.asp?TID=10530&KW=skin



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net