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

AutoScroll Panel

Thread ID:





2617 Feb 5,2003 02:30 AM Feb 14,2003 07:51 AM Windows Forms 1
Tags: FAQ
Asked On February 5, 2003 02:30 AM

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 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


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.

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.