MCPcopy Create free account
hub / github.com/HelloBush/Java_MHXYdemo / SendString2

Method SendString2

src/pkgDm/Dm2Java.java:380–382  ·  view source on GitHub ↗

向指定窗口发送文本数据 注: 此接口为老的SendString,如果新的SendString不能输入,可以尝试此接口. @param hwnd 指定的窗口句柄 @param str 发送的文本数据 @return 0: 失败 1:成功

(int hwnd, String str)

Source from the content-addressed store, hash-verified

378 * @return 0: 失败 1:成功
379 */
380 public int SendString2(int hwnd, String str){
381 return Dispatch.call(dm,"SendString2",hwnd,str).getInt();
382 }
383
384 /**
385 * 设置窗口客户区域的宽度和高度

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected