Jump to content
Sign in to follow this  

Java and windows messages

Recommended Posts

Does any one know how to send messages to windows using java? Also, do you know how to find the window?

 

If you can tell me or give me a link that says the info, I will give you +1 on rep.

Share this post


Link to post
Share on other sites

Like in c++ you can send a message to a program...

 

Example. I am trying to make a winamp controller, but i dont know how to send it. I know in c++ this is the command...

 

SendMessage(winampHWND, WM_COMMAND, WINAMP_BUTTON2, 0);

 

and that is the play button

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×