Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Runtime.InteropServices;
- [DllImport("user32.dll")]
- static extern int SendMessage(IntPtr hWnd, uint wMsg,
- UIntPtr wParam, IntPtr lParam);
- SendMessage(myRichTextBox.Handle, (uint)0x00B6, (UIntPtr)0, (IntPtr)(-1));
- RichEdit.SelectionStart = SendMessage(RichEdit.Handle, EM_LINEINDEX, ScrollTo, 0);
- RichEdit.ScrollToCaret();
Add Comment
Please, Sign In to add comment