29 May 2007

Scroll text into view in Rtf known as Rich Text Box, How to do that ?

1. The simple way, Just set the HideSelection property to false.

2. The geek way, SendMessage(this.Handle, (uint)WM_HSCROLL, (System.UIntPtr)3, (System.IntPtr)0);

The geek way can be implemented in every scrollable control.