Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have a C# application, that sends WM_SETTEXT messages to some edit boxes in different desktop applications. For this purpose a user of the application has a tool like Spy++ to determine handles of edit boxes selected for sending WM_MESSAGE. There are some edit boxes in Java desktop application, that must be treated in the same way.

The question is, if is there any way to resolve this problem window application to Java application.

Thanks for any answer.

Posted

You can't send a message 'like' WM_SETTEXT to a Java app, Java either uses the windows framework on Windows, or I suspect you're screwed.  I'd have expected Java on Windows to use the windows framework, you can use Spy++ to tell if this is true or not.  If it's not, then I doubt you can do it at all.

 
Share this answer
 
Certainly, Spy++ cannot see controls inside Java application.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900