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

Loader.
Up arrow icon