BinaryFileSchemaGUI.FastRichEdit.SetScrollPos C# (CSharp) Méthode

SetScrollPos() private méthode

private SetScrollPos ( Point p ) : void
p Point
Résultat 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);
        }