Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC
  New Posts New Posts RSS Feed - XStremeSkinFramework OCx
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedXStremeSkinFramework OCx

 Post Reply Post Reply
Author
Message
bsil View Drop Down
Groupie
Groupie


Joined: 08 March 2010
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote bsil Quote  Post ReplyReply Direct Link To This Post Topic: XStremeSkinFramework OCx
    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

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
bsil View Drop Down
Groupie
Groupie


Joined: 08 March 2010
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote bsil Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.