0
Reply

Get the window size af another application

david 0

david 0

Jul 16 2004 5:53 AM
1.6k
Hi... I got this: using System; using System.Collections; public class MyClass { public static void Main() { System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.StartInfo.FileName= "notepad.exe"; proc.Start(); Console.WriteLine("{0}",proc.MainWindowTitle); proc.WaitForExit(); } } But how do i get the windows size of my startet application? And how do i read the content of the window ?