Home Dashboard Directory Help
Search

Scroll Bar in Windows Forms doesn't work properly by L'Yosha


Status: 

Closed
 as Not Reproducible Help for as Not Reproducible


1
0
Sign in
to vote
Type: Bug
ID: 773934
Opened: 12/10/2012 8:22:11 AM
Access Restriction: Public
0
Workaround(s)
view
1
User(s) can reproduce this bug

Description

Windows Forms Scroll Bar hangs up if I scroll it to the right. It won't react to my manipulations afterwards. Also, if I set ScrollBar.Minimum to a negative value, it will act crazy. However, if I hover the mouse over the scroll bar and use the scroll wheel, the scroll bar will unfreeze.
Attached is the test project: http://sdrv.ms/UaickY
Project Type: Visual Studio Extension
To launch the window, go to View -> Other Windows -> Test Tool Windows
Details
Sign in to post a comment.
Posted by Microsoft on 2/13/2013 at 1:08 PM
Hi L'Yosha
You have set min and max defaults of 0 and 2500 with a smallchange of 1 (Default). This could make the arrows of the scroll bar make it seem like its "hung". One thing i would suggest is to debug the "scroll" event of you scroll bar and keep note of the Value of the scroll bar on the various events, especially when the scrollbar appears to be hung. Can you report what you find?

Are you creating your tool window to be able to support VS 2008, VS 2010 and VS2012? One suggestion if you only need to support 2010 and 2012 is to create a WPF Toolwindow using the 2010 or 2012 VSSDK template.

Carl Brochu | Visual Studio team
Posted by L'Yosha on 1/18/2013 at 5:26 AM
Please, take a look at my test project. It is not about Windows Forms app (where the case works correct), it is about toolwindow's scroll bar in Visual Studio 2010\2012 extension only. In Visual Studio 2008 this case works properly.
Posted by Microsoft on 1/17/2013 at 5:48 PM
Thank you for your feedback. The issue that you have reported is actually by design.
These events are filtered out from the property grid because they are considered advanced.
Many customers have found it useful to discuss issues like this in the forums (http://www.microsoft.com/communities/forums/default.mspx) where Microsoft and other members of the community can recommended ways to achieve the behavior you interested in.
 
Thanks,
The Windows Forms Product Team
Posted by Microsoft on 12/11/2012 at 2:54 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by Microsoft on 12/10/2012 at 8:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.