rts,
The only way that I can think of doing it is getting the handle for the
scrollbar that is being hosted in the window and then using the Win32 API
functions to determine the max value of the scrollbar, and the current
value.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Rex the Strange" <ro********@widgetinc.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
That pretty much says it all. How can I tell, in my code, if my
component (which has a vertical scroll bar) is scrolled all the way to
the bottom? In this case it's a DataGridView, but I'm sure it's
probably the same with all components.
So how do I do this, please?
tia,
rts