We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

AutoScroll Panel

I have a panel which I want to be scrollable. The problem is that I wanto catch an event when any scrollbar has been scrolled. Such an event seem not to exist by default so I was thinking of inheriting from the Panel and raising an event when the AutoScrollPosition is modified but I don't know where I can test this value Any Idea?

1 Reply

RP Ramesh Praveen Syncfusion Team February 14, 2003 07:51 AM

You could override WndProc and listen for (0x114 WM_HSCROLL) and (0x115 WM_VSCROLL) messages (m.Msg will be set to the above values). These messages should be sent when the user scrolls, I believe. -Praveen

Loader.
Live Chat Icon For mobile
Up arrow icon