Controll Scrolling Programactically
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Does anyone know how to control scrolling programactically, e.g. scroll to the very end of the form? Thanks!
P/Invoke
SendMessage
and send either theWM_HSCROLL
(0x0114) or theWM_VSCROLL
(0x0115) messages to the control handle (see theControl.Handle
property in the .NET Framework SDK). This has been covered many times here in the C# forum in the past, so I direct you to a previous response and urge you to try searching for answers first by clicking "Search comments" above the message board, or search the articles using the search textbox underneat the CodeProject logo. See http://www.codeproject.com/script/comments/forums.asp?msg=719589&forumid=1649#xx719589xx[^].Microsoft MVP, Visual C# My Articles