¡@

Home 

c# Programming Glossary: mainwindowhandle

Send message to a Windows process (not its main window)

http://stackoverflow.com/questions/1777668/send-message-to-a-windows-process-not-its-main-window

me with no window handle. At startup previous instance's MainWindowHandle property is 0 so I can't send ShowWindow or PostMessage . Is.. pwi new Interop.WINDOWINFO IntPtr handle process.MainWindowHandle var isVisible Interop.GetWindowInfo handle ref pwi if isVisible..

Find if process is responding without using System.Diagnostics.Process.Responding

http://stackoverflow.com/questions/3514049/find-if-process-is-responding-without-using-system-diagnostics-process-respondin

on MSDN this property needs another property named MainWindowHandle to be available in order to complete the process of checking... in order to complete the process of checking. And if MainWindowHandle isn't available Process.Responding always returns true even.. And for some reason which i don't know. In Windows XP MainWindowHandle isn't available there so Responding isn't accurate. Thats why..