Process related question?
-
who to communicate with a process.lets say there are a number of components on its main window how to pass messages to them,who to passs data to their edit boxes and text areas. who to get its mainwindow hawndle i tried to get its hwndle like that Process tmpProcess; .. tmpProcess.start(); tmpProcess.WaitForInputIdle(); IntPtr hWnd=tmpProcess.MainWindowHandle; HWND t_hwnd=(HWND)hWnd.ToInt32(); but thats not its main window handle because when i get its rectangle its points are not correct. what to do if i want to have processes mainwindow hwnd? i also want to get process main window new handle when its window changes after some processing how to get it? is there any other way to communicate with process ? plz provide the helping metrial and related links for that? i will be very thank full to u.