Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - Sample of MFC + Activex COM Skin FrameWork
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Sample of MFC + Activex COM Skin FrameWork

 Post Reply Post Reply
Author
Message
anup View Drop Down
Newbie
Newbie


Joined: 12 August 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote anup Quote  Post ReplyReply Direct Link To This Post Topic: Sample of MFC + Activex COM Skin FrameWork
    Posted: 12 August 2009 at 9:12am
Hi All,


Can I have a Sample to check how to create a VC++ application using the Activex COM of Codejock. I tried to add the Component but it did not give me any interface to implement.  I want to implement a theme to the application.

1. I created a Simple Dialog based application
2. I added the Activex Control on the dialog and added the variable for that.
3. I imported the OCX file also.
but nothing worked
 

Also Please let me know If I am doing anything worng

Thanks
Anup
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: 13 August 2009 at 1:59am
Hi,
 
So do you load any skin ?
 
I repeated your steps, and added
 
 m_wndSkinFramework.LoadSkin("c:\\Test\\SkinSample\\Vista.cjstyles", "");
 m_wndSkinFramework.ApplyWindow((long)m_hWnd);
in the end of ::OnInitDialog method. Works for me.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
anup View Drop Down
Newbie
Newbie


Joined: 12 August 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote anup Quote  Post ReplyReply Direct Link To This Post Posted: 19 August 2009 at 8:45am
Oh... Got it I need to keep the licence copy in the same folder where I am keeping the OCX file
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.125 seconds.