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

Method FindWindowEx

src/pkgDm/Dm2Java.java:163–165  ·  view source on GitHub ↗

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

(int parent,String class_name,String title)

Source from the content-addressed store, hash-verified

161 * @return 整形数表示的窗口句柄,没找到返回0
162 */
163 public int FindWindowEx(int parent,String class_name,String title){
164 return Dispatch.call(dm, "FindWindowEx", parent,class_name,title).getInt();
165 }
166
167 /**
168 * 获取窗口客户区域在屏幕上的位置

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected