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

Method MoveWindow

src/pkgDm/Dm2Java.java:325–327  ·  view source on GitHub ↗

移动指定窗口到指定位置 @param hwnd 指定的窗口句柄 @param x X坐标 @param y y坐标 @return 0: 失败 1:成功

(int hwnd,int x,int y)

Source from the content-addressed store, hash-verified

323 * @return 0: 失败 1:成功
324 */
325 public int MoveWindow(int hwnd,int x,int y){
326 return Dispatch.call(dm,"MoveWindow",hwnd,x,y).getInt();
327 }
328
329 /**
330 * 把屏幕坐标转换为窗口坐标

Callers 1

GameWindowAdjustMethod · 0.80

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected