I am using winforms, and I update a text box once in a while (showing messages). however, when the text reaches the end of the box it produces scrollbars and I don't know how to scroll down to the bottom. The only thing I see is ScrollToCaret, but Caret is at the beginning of the text. What is the command to scroll?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Carriage Return (ASCII chr 13) is missing from tex
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
C# Use Scroll Up/Down by Windows API (user32.dll)
First, we have to define a constant value:
Then, we have to declare two external methods of user32.dll:
Finally, use these methods to do the real thing:
Done! Simple and easy! Tested! original post