![]() |
ScrollBar en/disable problem in SkinControl sample |
Post Reply ![]() |
Author | |
dubaoan ![]() Groupie ![]() Joined: 01 December 2005 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() 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!
|
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello, Please use
m_wndScrollBar.EnableWindow(FALSE/TRUE) instead.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
dubaoan ![]() Groupie ![]() Joined: 01 December 2005 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() |
It works.
Thank you!
|
|
![]() |
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 |