ScrollableControl.HorizontalScroll


I am implementing a control derived from ScrollableControl, but most of its implementation is legacy code written in unmanaged C++ and uses the win32 API. In particular scrollbars states and positions are set usingSetScrollInfo, etc. Now my problem is that the HorizontalScroll property of the ScrollableControl does not reflect the actual scrollbars states (they don't change at all). Is there a way to keep things synchronized ?

[462 byte] By [Chris.G] at [2007-12-16]
# 1

Can you provide more deatils? What properties on the HorizontalScroll are not in sync? When you say in sync are you p/invoking SetScrollInfo and you are expecting that properties on the HorizontalScroll are updated?

thanks,
-mark
Program Manager
Microsoft
This post is provided "as-is"

MarkRideout at 2007-9-8 > top of Msdn Tech,Windows Forms,Windows Forms General...