J
John Thomson
I'm working on a custom control derived from
System.Windows.Forms.Panel (and hence from
System.Windows.Forms.ScrollableControl). At various
times, for example, whenever the application is
activated, it unexpectedly jumps to a particular scroll
position. I need to break at the point where this
scrolling happens, to see what is causing it.
There appears to be no event that fires when
AutoScrollPosition changes, nor a virtual method that can
be overidden. I tried setting a break point at the
disassembly line that is the implementation of the
set_AutoScrollPosition method, but apparently the problem
change is bypassing that.
Any suggestions much appreciated.
System.Windows.Forms.Panel (and hence from
System.Windows.Forms.ScrollableControl). At various
times, for example, whenever the application is
activated, it unexpectedly jumps to a particular scroll
position. I need to break at the point where this
scrolling happens, to see what is causing it.
There appears to be no event that fires when
AutoScrollPosition changes, nor a virtual method that can
be overidden. I tried setting a break point at the
disassembly line that is the implementation of the
set_AutoScrollPosition method, but apparently the problem
change is bypassing that.
Any suggestions much appreciated.