Skin forms in a separate assembly |
Post Reply |
Author | |
coffeemkr0
Newbie Joined: 27 March 2008 Location: United States Status: Offline Points: 7 |
Post Options
Thanks(0)
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.
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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
|
|
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.... |
|
coffeemkr0
Newbie Joined: 27 March 2008 Location: United States Status: Offline Points: 7 |
Post Options
Thanks(0)
|
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.
|
|
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 |