Print Page | Close Window

Skin forms in a separate assembly

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=12129
Printed Date: 27 September 2024 at 7:50pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Skin forms in a separate assembly
Posted By: coffeemkr0
Subject: Skin forms in a separate assembly
Date Posted: 10 September 2008 at 10:37am
Is it possible to apply skins to forms, or dialogs, in a separate assembly than the main assembly that has the skin framework.
 
I have an assembly that has custom message boxes we use.
From the main application, I would like to have the skinframework automaticaly skin the message boxes when they are called.
 
I have tried setting the AutoApplyNewWindows property to true.
 
I have tried putting Appplication.EnableVisualStyles() in several places.
 
Neither seem to make the framework skin any dialogs from the custom message box assembly.
 



Replies:
Posted By: Aaron
Date Posted: 10 September 2008 at 12:44pm
Hi,
 
I believe it isn't possible. There are other posts about this and neither of the (support) replies was succesfull
 
See for example: https://forum.codejock.com/forum_posts.asp?TID=11497 - https://forum.codejock.com/forum_posts.asp?TID=11497


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: coffeemkr0
Date Posted: 10 September 2008 at 1:38pm
I believe in that case, the user wanted to skin the main form and not skin child forms?
 
This is not what I am looking for.
 
I want to skin the main form, and skin the child forms.
 
However, to do this in most cases, you have to add the ApplyWindow call in the child forms.
 
This is not feasible if the child forms exist in a separate assembly than the calling application.
At least if I use the method for skinning child forms used in the samples.
 
It works for Windows Messageboxes, but not for my custom message boxes.
 
 



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