![]() |
SetSchema does not work? |
Post Reply ![]() |
Author | |
Hmbucker ![]() Newbie ![]() Joined: 12 October 2012 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 15 October 2012 at 4:26am |
Hi,
I am using Toolkit Pro in an activeX which is used by other applications as a plug in. When I call the function LoadSkin(my_skin); the my_skin is imposed not only on the ActiveX control, but also on the Containing application which is not what I want (the result of this is that the containing app becomes ugly because of the owner drawn components) So I decided to try CreateSchema + SetWindowTheme so that I could set the skin on all components used individually. Unfortunately this only seems to work after doing the LoadSkin first??? Then I tried to derive a button in order to be able to draw png files on it. To my surprise, the skin from the LoadSkin function overrules the WindowTheme so that the wrong skin is drawn first and then my png is drawn on top of it? Is there a solution for this problem somehow? Thanks in advance. Koen
|
|
![]() |
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 |