Print Page | Close Window

SkinFramework.RemoveAllWindows

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=20119
Printed Date: 25 August 2025 at 10:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SkinFramework.RemoveAllWindows
Posted By: LilBiggs02
Subject: SkinFramework.RemoveAllWindows
Date Posted: 10 September 2012 at 11:46am

I have inherited a VB6 program from some previous programmers. We are using Active X Codejock.SkinFramework.v12.1.1 controls. I am un familer with the skin framework. The issue is when closing down the desktop application the application is hanging on skinframework1.RemoveAllWindows.

Here is initialization call in the form_load
        With sfmSkin
            .ExcludeModule "msado15.dll"
            .ExcludeModule "msdard.dll"
            .ExcludeModule "msjet40.dll"
            .ExcludeModule "msjetoledb40.dll"
            .ExcludeModule "msjiter40.dll"
            .ExcludeModule "msjint40.dll"
            .LoadSkin strFilename, "NORMALROYALE.INI"
            .ApplyWindow Me.hWnd
            .ApplyOptions = sfmSkin.ApplyOptions Or xtpSkinApplyMetrics
        End With
 
Then in the unload event the following is done:
sfmSkin.RemoveAllWindows
 
I have checked out the examples shipped with the product and can't find anywhere where .RemoveAllWindows is used. My question is do I need to make this call during the form_unload event. And if so what is the purpose of the call?
 
Thanks in advance.



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