Hello,
Does anyone know of any way to suppress the Vista fade animations on scroll bars?
I only want to do this temporarily and I don't think subclassing is an option because the scroll bars are the "automatic" ones generated by the auto-scroll functionality (it's a .NET app but I assume interop is required).
The reason I want to do this is because the content of the control can (and will) change and cause the vertical scroll bar to be automatically hidden. However - and this is the part that's been driving me crazy - if the user has hovered over the scroll bar within the last 1-2 seconds and the animation is still in progress, then the scroll bar hides but the animation continues anyway and leaves a ghost image, so the SB appears to still be there even though it really isn't (can't click on it, and minimizing/restoring the form makes it disappear completely).
I'm figuring that Vista uses some sort of timer for this animation and hoping that maybe there's some new API to stop the timer (Google is unfortunately no help on this). Or if anybody else has encountered this problem and knows a different way to solve it, that would be great too.
Thanks in advance,
Aaron