.ExcludeModule |
Post Reply |
Author | |
Jean
Senior Member Joined: 11 December 2006 Status: Offline Points: 110 |
Post Options
Thanks(0)
Posted: 05 March 2008 at 4:45am |
In our application a form doesen't show appropriate when skinned, so I like to exclude the DLL where the form belongs to.
But the exclude method dosen't work for me. I don't see a difference when I exclude the dll. To show the problem, I created a simple sample. Project1 (Project1.exe) is the calling application with SkinFrameWork on it. Project2 is a DLL-Project (ExcludeMe.dll) and shouldn't be skinned when called from Project1. uploads/20080305_044400_ExcludeModule.zip Don't I use the method like I should? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
No,its not right method for you. You need RemoveWindow method.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Jean
Senior Member Joined: 11 December 2006 Status: Offline Points: 110 |
Post Options
Thanks(0)
|
In our application we don't show the form direct from the DLL like I do it in the sample. We just call a method from the DLL. So I don't have the window handle of the form.
The DLL we are using in our application is from a third party supplier. It's just a black box for me. So I need to exclude it by it's name. Why doesn't work my sample? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
hmm strange. actually your sample works quite good for me. I don't see any problem with form from dll...
What OS you tried ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
I see - it wors for you also, but you don't want to....
hmm another option is set AutoApplyNewWindows to False before show form from dll and change it back to True after.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Jean
Senior Member Joined: 11 December 2006 Status: Offline Points: 110 |
Post Options
Thanks(0)
|
Yes, the sample works: I don't get an error.
But it doesn't happen what I expected. Win XP Pro SP2 VB6 SP6 CodeJock Suite 11.2.2 I thought that the whole frmExclude with all controls on it doesn't show with the style from Form1. I'll try your last advice. Thank you. I would prefer a solution with exclude a DLL because in our application there is a black box inside a black box. I like to have the Form1 style on my "outer black box". But the inner black box should not show the style. This doesn't work if I set AutoApplyNewWindows to false. |
|
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 |