IMouse for sendmessage

Discussion about using the VirtualBox API, Tutorials, Samples.
Post Reply
TigerZZ
Posts: 1
Joined: 26. Jul 2013, 04:05

IMouse for sendmessage

Post 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.
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: IMouse for sendmessage

Post 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
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply