I would like to retreive the x and y coordinates of the active window.
Thanks in advanced.
C
Printable View
I would like to retreive the x and y coordinates of the active window.
Thanks in advanced.
C
If you can get the hWnd of the active Window, you could use the GetWindowRect API.
VB Code:
Private Declare Function GetWindowRect Lib "user32" (ByVal hwnd As Long, lpRect As RECT) As Long Private Type RECT Left As Long Top As Long Right As Long Bottom As Long End Type dim Rec as RECT GetWindowRect Activehwnd, Rec
Perfect! Thanks a lot for the help.
C