Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - Skin forms in a separate assembly
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Skin forms in a separate assembly

 Post Reply Post Reply
Author
Message
coffeemkr0 View Drop Down
Newbie
Newbie


Joined: 27 March 2008
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote coffeemkr0 Quote  Post ReplyReply Direct Link To This Post Topic: Skin forms in a separate assembly
    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.
 
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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
 
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....
Back to Top
coffeemkr0 View Drop Down
Newbie
Newbie


Joined: 27 March 2008
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote coffeemkr0 Quote  Post ReplyReply Direct Link To This Post 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.
 
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.