Use the win api function call GetWindowRect???

{;->
DocZaf