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

Method GetWindow

src/pkgDm/Dm2Java.java:248–250  ·  view source on GitHub ↗

获取给定窗口相关的窗口句柄 @param hwnd 窗口句柄 @param flag 取值定义如下 0 : 获取父窗口 1 : 获取第一个儿子窗口 2 : 获取First 窗口 3 : 获取Last窗口 4 : 获取下一个窗口 5 : 获取上一个窗口 6 : 获取拥有者窗口 7 : 获取顶层窗口 @return 返回整型表示的窗口句柄

(int hwnd,int flag)

Source from the content-addressed store, hash-verified

246 * @return 返回整型表示的窗口句柄
247 */
248 public int GetWindow(int hwnd,int flag){
249 return Dispatch.call(dm, "GetWindow",hwnd,flag).getInt();
250 }
251
252 /**
253 * 获取窗口的类名

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected