![]() |
VB Control: Skin Painting Issue |
Post Reply ![]() |
Author | |
prashant ![]() Senior Member ![]() ![]() Joined: 19 February 2007 Location: India Status: Offline Points: 165 |
![]() ![]() ![]() ![]() ![]() 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: |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
prashant ![]() Senior Member ![]() ![]() Joined: 19 February 2007 Location: India Status: Offline Points: 165 |
![]() ![]() ![]() ![]() ![]() |
Thanks Oleg :)
|
|
![]() |
|
Kluftinger ![]() Newbie ![]() Joined: 06 October 2009 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
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!
|
|
![]() |
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 |