IMouse for sendmessage

Discussion about using the VirtualBox API, Tutorials, Samples.

IMouse for sendmessage

Postby TigerZZ » 26. Jul 2013, 04:13

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?

Posts: 1
Joined: 26. Jul 2013, 04:05

Re: IMouse for sendmessage

Postby noteirak » 26. Jul 2013, 11:14

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 -
Manage your VirtualBox infrastructure the free way!
Site Moderator
Posts: 5197
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7

Return to The VirtualBox API

Who is online

Users browsing this forum: No registered users and 1 guest