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

Method GetWindowState

src/pkgDm/Dm2Java.java:305–307  ·  view source on GitHub ↗

获取指定窗口的一些属性 @param hwnd 指定的窗口句柄 @param flag 取值定义如下 0 : 判断窗口是否存在 1 : 判断窗口是否处于激活 2 : 判断窗口是否可见 3 : 判断窗口是否最小化 4 : 判断窗口是否最大化 5 : 判断窗口是否置顶 6 : 判断窗口是否无响应 @return 0: 不满足条件 1: 满足条件

(int hwnd,int flag)

Source from the content-addressed store, hash-verified

303 * @return 0: 不满足条件 1: 满足条件
304 */
305 public int GetWindowState(int hwnd,int flag){
306 return Dispatch.call(dm,"GetWindowState",hwnd,flag).getInt();
307 }
308
309 /**
310 * 获取窗口的标题

Callers 1

AssistInitMethod · 0.95

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected