well from an old VB6 way I used to use Findwindow then you can get the windowrect

http://www.pinvoke.net/default.aspx/user32.findwindow
Window Rect
http://www.pinvoke.net/default.aspx/....getwindowrect

hope that gets you started,