Java Code Examples for com.sun.jna.platform.win32.WinDef#POINT
The following examples show how to use
com.sun.jna.platform.win32.WinDef#POINT .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WindowHook.java From Spark-Reader with GNU General Public License v3.0 | 5 votes |
public List<Integer> getCoord() { if(!available || libuser32 == null) return null; WinDef.POINT point = new WinDef.POINT(0,0); if(libuser32.ClientToScreen(libuser32.FindWindowW(null, name.toCharArray()), point)) { List<Integer> coord = new ArrayList<>(); coord.add(point.x); coord.add(point.y); return coord; } else return null; }
Example 2
Source File: User32.java From Spark-Reader with GNU General Public License v3.0 | votes |
boolean ClientToScreen(Pointer hWnd, WinDef.POINT point);