ScrollBar bug |
Post Reply |
Author | |
serbius
Newbie Joined: 25 April 2007 Location: Belarus Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 19 May 2008 at 9:04am |
OS: WinXP
Theme: Royale XTP: 11.2.2 and 12.0.0 Steps to reproduce: 1. Run ResourceEditor.exe and collapse all groups. Now there is no scroll bar. 2. Expand one group. Here we have a problem - Scroll bar is not themed. 3. Move mouse over Scroll bar. This problem is not related to this application. I just used it for explanation. |
|
AndyS
Groupie Joined: 15 December 2004 Location: United Kingdom Status: Offline Points: 14 |
Post Options
Thanks(0)
|
I have the same issue a year later. Is this resolved?
|
|
AndyS
Groupie Joined: 15 December 2004 Location: United Kingdom Status: Offline Points: 14 |
Post Options
Thanks(0)
|
After some more probing the problem only occurs when expanding content to require vertical scroll AND the previous display of the scroll bars had the same scroll bar position. So in the example above expand/collapse the same item would do it, expand/collapse different items would not. Same in my example here but caused by applying filters to the dispayed content. My hacky fix is to overload the "AdjustScrollBars" virtual method of the report control and send an NC_PAINT message. I'll admit it's a hack and it's a sledgehammer but it works. Good enough.
|
|
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 |