Print Page | Close Window

SkinFramework.RemoveWindow

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=9607
Printed Date: 04 November 2024 at 4:37pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SkinFramework.RemoveWindow
Posted By: Boris
Subject: SkinFramework.RemoveWindow
Date Posted: 18 February 2008 at 3:40am

Mostly I use Codejocks controls but I also use the SGrid control by Steve McMahon @ VBAccelerator. http://www.vbaccelerator.com/home/VB/Code/Controls/S_Grid_2/index.asp - http://www.vbaccelerator.com/home/VB/Code/Controls/S_Grid_2/index.asp

For varying reasons I should like to keep this control. However, when I remove the modally called form from being skinned the grid is still being affected. If I do SkinFramework.RemoveWindow vbalGrid1.hwnd it is still being affected. The main problem is the scroll bar which behaves oddly when the Skin control is in use. Remove the call to skin the application and you can scroll the grid quite happily even though the skin control is loaded in the project. Am I doing something wrong ?
Regards,
Boris


-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013



Replies:
Posted By: Oleg
Date Posted: 18 February 2008 at 4:56am
Hi,
 
I can recommend you set scrollbar style to SbrFlat for this control, but you also need remove Windows XP check in pCreateScrollBar Sub of cScrollBar.cls file.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Boris
Date Posted: 23 February 2008 at 4:08am
Hi,
 
That worked an absolute treat.
 
Brilliant.
 


-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013



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