Print Page | Close Window

VB Control: Skin Painting Issue

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=13759
Printed Date: 31 October 2024 at 10:28pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: VB Control: Skin Painting Issue
Posted By: prashant
Subject: VB Control: Skin Painting Issue
Date Posted: 23 March 2009 at 8:00am
Oleg / CJ Support Team,

I am using Codejock 12.1.1 on my machine running XP O.S.

Basically my application is in Vc++ but I am running few VB OCX through my application.

I am having Royal skin applied to my application but same skin is not getting applied properly to OCX controls.

Please refer following screen shot:




Skinning Problem:






Replies:
Posted By: Oleg
Date Posted: 24 March 2009 at 6:18am
Try to add
 
CXTPSkinManagerApiHook* pApiHook = CXTPSkinManagerApiHook::GetInstance();
pApiHook->FinalizeHookManagement();
pApiHook->InitializeHookManagement();
after you load ocx to be sure they correctly hooked.


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


Posted By: prashant
Date Posted: 25 March 2009 at 7:41am
Thanks Oleg :)


Posted By: Kluftinger
Date Posted: 06 October 2009 at 5:33am
I have a similar problem. I call an other application and some toolbar buttons and all popup-menu are painted wrong (you don't see the text for the menu items).
 
So I called the function <XTPSkinManager()->SetAutoApplyNewWindows (TRUE)> before I started the other application. Now the toolbar buttons are painted correctly but I can't see the menu items text.
 
Has anybody a tip for me?
 
Thanks!



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