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

Method FindWindow

src/pkgDm/Dm2Java.java:152–154  ·  view source on GitHub ↗

查找符合类名或者标题名的顶层可见窗口 @param class_name 窗口类名,如果为空,则匹配所有. 这里的匹配是模糊匹配. @param title 窗口标题,如果为空,则匹配所有.这里的匹配是模糊匹配. @return 整形数表示的窗口句柄,没找到返回0

(String class_name,String title)

Source from the content-addressed store, hash-verified

150 * @return 整形数表示的窗口句柄,没找到返回0
151 */
152 public int FindWindow(String class_name,String title){
153 return Dispatch.call(dm, "FindWindow", class_name,title).getInt();
154 }
155
156 /**
157 * 查找符合类名或者标题名的顶层可见窗口,如果指定了parent,则在parent的第一层子窗口中查找.

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected