¡@

Home 

java Programming Glossary: windowname

How to get the x and y of a program window in Java?

http://stackoverflow.com/questions/6091531/how-to-get-the-x-and-y-of-a-program-window-in-java

HWND handle int rect public static int getRect String windowName throws WindowNotFoundException GetWindowRectException HWND hwnd.. HWND hwnd User32.INSTANCE.FindWindow null windowName if hwnd null throw new WindowNotFoundException windowName int.. windowName if hwnd null throw new WindowNotFoundException windowName int rect 0 0 0 0 int result User32.INSTANCE.GetWindowRect hwnd..