![]() |
Prevent SkinFramework Changing MarkupLabel Color |
Post Reply ![]() |
Author | |
jpbro ![]() Senior Member ![]() ![]() Joined: 12 January 2007 Status: Offline Points: 1355 |
![]() ![]() ![]() ![]() ![]() Posted: 12 July 2016 at 9:58pm |
Hi, it's been a while since I've needed to ask a CJ question here, but it's nice to be back :)
I have a form with a SkinFramework control, and a UserControl with a MarkupLabel control. The SkinFramework always seems to change the background colour of the MarkupLabel control, making the Transparent property fail to work. The SkinFramework.ApplyOptions property includes the xtpSkinApplyColors flag (which I need for other controls) - removing it solves the MarkupLabel BackColor problem, but introduces problems elsewhere. Using RemoveWindow MarkupLabel.hWnd doesn't work, nor does RemoveWindowClass "AfxOleControl42u" (as Spy++ reports the MarkupLabel window class to be). Anyone have any experience here and know how to prevent the SkinFramework control from overriding the MarkupLable BackColor property so that transparency will work? Thanks in advance for any help. |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
Hello jpbro,
It looks like known issue. SkinFramework hooks system call GetSysColor(int nIndex), but this function gives only index of system color, and doesn't give info about what exactly window/control calls GetSysColor(). Unfortunately we haven't yet solved this problem. Regards, Lebed Oleksandr |
|
![]() |
|
jpbro ![]() Senior Member ![]() ![]() Joined: 12 January 2007 Status: Offline Points: 1355 |
![]() ![]() ![]() ![]() ![]() |
Hi olebed! Thanks for the prompt follow-up. Hope it's something that can be solved/worked around at some point.
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
![]() |
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 |