Print Page | Close Window

SkinFramework in .NET interop control

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=10129
Printed Date: 19 April 2025 at 10:18am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SkinFramework in .NET interop control
Posted By: YellowStreak
Subject: SkinFramework in .NET interop control
Date Posted: 07 April 2008 at 11:56am

We are using the skinFramework in our VB6 app.  We are just starting to incorporate VB.NET interop user controls into our VB6 app.

I hace successfully got the .NET user controls picking up the same skin settings as the VB6 app but I am having trouble with repainting.
 
I one of the .NET user controls is visible on the screen when the skin style is changed - it does repaint with the new style.  If I close it down and re-open it then it's fine.
 
Any ideas how I can refresh the usercontrol in code automatically?
 
Thanks.



Replies:
Posted By: YellowStreak
Date Posted: 07 April 2008 at 11:58am
Shall I try that again without the typos???
 
We are using the skinFramework in our VB6 app.  We are just starting to incorporate VB.NET interop user controls into our VB6 app.
I have successfully got the .NET user controls picking up the same skin settings as the VB6 app but I am having trouble with repainting.
 
If one of the .NET user controls is visible on the screen when the skin style is changed - it does not repaint with the new style.  If I close the form and re-open it then it's fine.
 
Any ideas how I can refresh the usercontrol in code automatically?
 


Posted By: Oleg
Date Posted: 07 April 2008 at 12:32pm
Hi,
 
Its something that we need to test in our end. Maybe you can send small sample?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: YellowStreak
Date Posted: 08 April 2008 at 6:05am
It looks like the repaint issue was occuring because I was running the .Net control in debug mode.
 
I ran the VB app with the compiled control and it seems to refresh OK.
 
My only problem now is the dodgy skinning of the .NET Tab Control



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net