Opened 13 years ago
Closed 13 years ago
#9320 closed defect (duplicate)
PutMouseEventAbsolute function produces a click with -2 offset on each coordinate -> duplicate of #9321
Reported by: | Sergey | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.1.0 |
Keywords: | IMouse, PutMouseEventAbsolute | Cc: | |
Guest type: | other | Host type: | other |
Description
I am using VirtualBox SDK to move/click mouse on guest from app running on host through IMouse interface. I've noticed that when I call PutMouseEventAbsolute(x, y, 0, 0, 1) the real click happens at (x-2,y-2) position.
GA are installed, but Mouse Integration is disabled for the guest.
I have created .NET wrapper for VirtualBox.exe with tlbimp tool.
My program looks like this:
/
VirtualBoxClass vbc = new VirtualBoxClass(); IMachine vm = vbc.FindMachine("w7");
SessionClass s = new SessionClass();
vm.LockMachine(s, LockType.LockType_Shared);
s.Console.Mouse.PutMouseEventAbsolute(100, 100, 0, 0, 1);
/
the click happens at (98,98)
Change History (2)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Summary: | PutMouseEventAbsolute function produces a click with -2 offset on each coordinate → PutMouseEventAbsolute function produces a click with -2 offset on each coordinate -> duplicate of #9321 |
this ticket duplicates ticket #9321, please ignore this one, since #9321 has .log file attached