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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

AutoScroll Panel

Thread ID:





2617 Feb 5,2003 07:30 AM UTC Feb 14,2003 12:51 PM UTC WinForms 1
Tags: FAQ
Asked On February 5, 2003 07:30 AM UTC

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?

Ramesh Praveen [Syncfusion]
Replied On February 14, 2003 12:51 PM UTC

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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon