BinaryFileSchemaGUI.FastRichEdit.SetScrollPos C# (CSharp) Method

SetScrollPos() private method

private SetScrollPos ( Point p ) : void
p Point
return void
        private unsafe void SetScrollPos( Point p )
        {
            SeqPoint res = new SeqPoint();
            res.x = p.X;
            res.y = p.Y;
            IntPtr ptr = new IntPtr(&res);
            Message m = Message.Create(this.Handle, EM_SETSCROLLPOS, IntPtr.Zero, ptr);
            this.WndProc(ref m);
        }