int x = getXoffset(link); int y = getYoffset(link); webBrowser1.Document.Window.ScrollTo(x, y); Linker.Win32.POINT p2 = new Linker.Win32.POINT(); webBrowser1.Focus(); p2.x = webBrowser1.Left + 10; p2.y = webBrowser1.Top + 5; Linker.Win32.ClientToScreen(this.Handle, ref p2); Linker.Win32.SetCursorPos(p2.x, p2.y); MouseOperations.GetCursorPosition(); MouseOperations.MouseEvent(MouseOperations.MouseEventFlags.LeftDown); MouseOperations.MouseEvent(MouseOperations.MouseEventFlags.RightDown); MouseOperations.MouseEvent(MouseOperations.MouseEventFlags.RightUp);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)