Quote Originally Posted by krtxmrtz View Post
It's very strange that rct dimensions below are all returned as 0. I wonder what I may be overlooking.
Your passing the DC instead of the Window handle for GetWindowRect.


Win_hWnd = GetActiveWindow
GetWindowRect Win_hWnd , rct