Print Page | Close Window

ActiveX Textcontrol skinning problem

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=11112
Printed Date: 17 June 2024 at 1:15am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ActiveX Textcontrol skinning problem
Posted By: Dieter
Subject: ActiveX Textcontrol skinning problem
Date Posted: 19 June 2008 at 11:28am
Hi, I want to use the skinning framework of the Codejock library in an MFC application (Codejock MFC 12.0.0) which is using a third party ActiveX Textcontrol (textcontrol.com).
But I have some problems with the textcontrol:
The scrollbars of the textcontrol aren't skinned and don't work.

Is there any possibility to get it working.
I don't have the source code of the Textcontrol.
AFAIK, the Textcontrol uses uxtheme.dll.

BTW, I tested the Textcontrol with the trial ActiveX version of the Codejock library and I get it working with a VisualBasic sample of the Codejock library (Samples\SkinFramework\Vb\SkinControls) without any problems.
The Textcontrol Scrollbars are skinned and working.






-------------
Dieter

Product: Xtreme ToolkitPro version 15.2.1
Platform: Windows XP (32bit) - SP 3
Language: Visual C++ 6.0, Visual Studio 2010



Replies:
Posted By: Oleg
Date Posted: 19 June 2008 at 2:07pm

Hi,

Maybe you need add manifest in your application.
try to add textcontrol to our MFC SkinCotnrols sample and check


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


Posted By: Dieter
Date Posted: 19 June 2008 at 5:17pm
I've a manifest in my application and I tested it also with the MFC SkinControl sample.
But I'm sorry, in the MFC SkinControl sample it is also not working.

I tested also the RichEditControl which comes with Windows XP.
It's the same:
In the VisualBasic ActiveX sample ActiveX the RichEditControl is correctly skinned, but in the MFC SkinControl sample the scrollbars aren't working.

For now, I've deactivated skinning for the Textcontrol with :
XTPSkinManager()->Remove(m_TX4OLE.GetSafeHwnd());
Or should I use ExcludeModule?

But it would be great if you have a solution for me.


-------------
Dieter

Product: Xtreme ToolkitPro version 15.2.1
Platform: Windows XP (32bit) - SP 3
Language: Visual C++ 6.0, Visual Studio 2010


Posted By: Oleg
Date Posted: 20 June 2008 at 1:50am
Hi,
 
Problem that in VB you load skin after this ocx loaded.
 
as workaround you can reload skin in MFC in OnInitDialog:
 
 XTPSkinManager()->LoadSkin(m_strStylesPath + _T("WinXP.Luna.cjstyles"), _T("NormalBlue.ini")); 


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


Posted By: Dieter
Date Posted: 20 June 2008 at 3:17am
Hi Oleg,

Originally posted by oleg oleg wrote:

Hi,
Problem that in VB you load skin after this ocx loaded.
 as workaround you can reload skin in MFC in OnInitDialog:
  XTPSkinManager()->LoadSkin(m_strStylesPath + _T("WinXP.Luna.cjstyles"), _T("NormalBlue.ini")); 


This solved my problem!
Thank you very much!




-------------
Dieter

Product: Xtreme ToolkitPro version 15.2.1
Platform: Windows XP (32bit) - SP 3
Language: Visual C++ 6.0, Visual Studio 2010



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