ActiveX Textcontrol skinning problem |
Post Reply |
Author | |
Dieter
Groupie Joined: 22 July 2006 Status: Offline Points: 15 |
Post Options
Thanks(0)
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
Dieter
Groupie Joined: 22 July 2006 Status: Offline Points: 15 |
Post Options
Thanks(0)
|
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
Dieter
Groupie Joined: 22 July 2006 Status: Offline Points: 15 |
Post Options
Thanks(0)
|
Hi Oleg,
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |