Code:Private Type RECT Left As Long Top As Long Right As Long Bottom As Long End Type Private Declare Function GetWindowRect Lib "user32" (ByVal hwnd As Long, lpRect As RECT) As Long Dim r as Rect GetWindowRect h,r 'r.left = x pos 'r.top = y pos 'etc.




mail:
Reply With Quote