![]() |
ScrollBar en/disable problem in SkinControl sample |
Post Reply
|
| Author | |
dubaoan
Groupie
Joined: 01 December 2005 Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Topic: ScrollBar en/disable problem in SkinControl samplePosted: 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 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 May 2008 at 1:31am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 May 2008 at 5:18am |
|
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 |