Prevent SkinFramework Changing MarkupLabel Color
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=23074
Printed Date: 05 April 2025 at 2:32pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Prevent SkinFramework Changing MarkupLabel Color
Posted By: jpbro
Subject: Prevent SkinFramework Changing MarkupLabel Color
Date 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
|
Replies:
Posted By: olebed
Date Posted: 13 July 2016 at 5:00am
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
|
Posted By: jpbro
Date Posted: 13 July 2016 at 8:11am
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
|
|