Page 1 of 1

IMouse for sendmessage

Posted: 26. Jul 2013, 04:13
by TigerZZ
Hi all

I'm trying to control mouse. Normally SendMessage do the trick.

But inside VirtualBox. the SendMessage doesn't work.

So, I have tried to use VirtualBox API. And now I got some problems.

I can get the running machine's state by using IMachine's get_State to determine the running VM.
But how can I attach to it's session to get console then using get_Mouse to get IMouse?

Or there is another way to IMouse easier?

Thanks.

Re: IMouse for sendmessage

Posted: 26. Jul 2013, 11:14
by noteirak
But inside VirtualBox. the SendMessage doesn't work.
Do you try to run your code inside a VM?

You really don't give much information, please read API Discussion Forum - Posting Rules