Print Page | Close Window

Sample of MFC + Activex COM Skin FrameWork

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=14955
Printed Date: 16 November 2024 at 4:35pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Sample of MFC + Activex COM Skin FrameWork
Posted By: anup
Subject: Sample of MFC + Activex COM Skin FrameWork
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: anup
Date 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



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