Find a windows size and position
I'm just getting into learning VB2005 and have been searching all over the place to find out how to locate the size of a window and its position on the screen.
My app currently uses the 'User32' FindWindow and GetWindowText API library functions to search for a window with a specified title. This gives me the handle (hWnd) to the window. This part works fine, however, I can not find out how to get the details of the window. I've searched all over the place, but have not had much luck.
Does anyone have any ideas how I can go about getting this information?
Thanks for any help that can be provided...
|