G
Guest
I would like to retrieve properties such as position and size of another
application running at the same time as my .NET application. The other
application may or may not be .NET. I understand how to retrieve the handle
and window name, using, eg:
Dim proc() As Process
proc = Process.GetProcessesByName("process_name")
Dim i As System.IntPtr = proc(0).MainWindowHandle()
But I can't work out how to use the handle information to access the other
application's properties from windows.
application running at the same time as my .NET application. The other
application may or may not be .NET. I understand how to retrieve the handle
and window name, using, eg:
Dim proc() As Process
proc = Process.GetProcessesByName("process_name")
Dim i As System.IntPtr = proc(0).MainWindowHandle()
But I can't work out how to use the handle information to access the other
application's properties from windows.