1)与Spy ++类似的Java工具2)从Windows应用程序向Java文本框发送WM_SETTEXT之类的消息

1)与Spy ++类似的Java工具2)从Windows应用程序向Java文本框发送WM_SETTEXT之类的消息

问题描述:

我有一个C#应用程序,该程序将WM_SETTEXT消息发送到不同桌面应用程序中的某些编辑框.为此,应用程序的用户可以使用Spy ++之类的工具来确定为发送WM_MESSAGE而选择的编辑框的句柄. Java桌面应用程序中有一些编辑框,必须以相同的方式处理.

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.

问题是,是否有任何方法可以将这个问题窗口应用程序解决为Java应用程序.

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

感谢您提供任何答案.

您无法向Java应用发送喜欢" WM_SETTEXT消息,Java要么在Windows上使用Windows框架,要么怀疑您搞砸了.我希望Windows上的Java使用Windows框架,您可以使用Spy ++来判断这是否正确.如果不是,那么我怀疑您完全可以做到.

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.


当然,Spy ++无法看到Java应用程序内部的控件.
Certainly, Spy++ cannot see controls inside Java application.