static void EnumerateWindows()
{
ArrayList daprocesses = new ArrayList();
System.Diagnostics.Process[] processes;
processes =
System.Diagnostics.Process.GetProcessesByName("Dar kages");
foreach (System.Diagnostics.Process instance in processes)
{
MessageBox.Show(instance.Handle.ToString());
}
}
}
how do i find hWnd's for the processes returned by the above code. The
'handle' that i've found above doesn't appear to be the right one.