Print Page | Close Window

ScrollBar en/disable problem in SkinControl sample

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=10823
Printed Date: 15 November 2024 at 8:44pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ScrollBar en/disable problem in SkinControl sample
Posted By: dubaoan
Subject: ScrollBar en/disable problem in SkinControl sample
Date Posted: 28 May 2008 at 11:20pm
Hi,
 
In sample SkinControl, I found that m_wndScrollBar can't be enabled after being disabled. Please try the following codes.
 
// disable scrollbar.
m_wndScrollBar.EnableScrollBar(ESB_DISABLE_BOTH);
 
// Enable scrollbar. (But it doesn't work. )
m_wndScrollBar.EnableScrollBar(ESB_ENABLE_BOTH);
 
 
Why?
 
Thanks!



Replies:
Posted By: Oleg
Date Posted: 29 May 2008 at 1:31am

Hello,

Please use
m_wndScrollBar.EnableWindow(FALSE/TRUE) instead.
 


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


Posted By: dubaoan
Date Posted: 29 May 2008 at 5:18am
It works.
 
Thank you!



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