Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - VB Control: Skin Painting Issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

VB Control: Skin Painting Issue

 Post Reply Post Reply
Author
Message
prashant View Drop Down
Senior Member
Senior Member
Avatar

Joined: 19 February 2007
Location: India
Status: Offline
Points: 165
Post Options Post Options   Thanks (0) Thanks(0)   Quote prashant Quote  Post ReplyReply Direct Link To This Post Topic: VB Control: Skin Painting Issue
    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:



Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
prashant View Drop Down
Senior Member
Senior Member
Avatar

Joined: 19 February 2007
Location: India
Status: Offline
Points: 165
Post Options Post Options   Thanks (0) Thanks(0)   Quote prashant Quote  Post ReplyReply Direct Link To This Post Posted: 25 March 2009 at 7:41am
Thanks Oleg :)
Back to Top
Kluftinger View Drop Down
Newbie
Newbie


Joined: 06 October 2009
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kluftinger Quote  Post ReplyReply Direct Link To This Post 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!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.