472,144 Members | 1,855 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,144 software developers and data experts.

how to find hwnds

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.

Jan 14 '07 #1
2 1533
Gary wrote:
static void EnumerateWindows()
BTW, I've replied in another thread.

-- Barry

--
http://barrkel.blogspot.com/
Jan 14 '07 #2
Sorry NG. Google is misbehaving lately, apologies for double post. I'll
check out my previous thread, right away.

Thankyou

On Jan 14, 12:23 am, Barry Kelly <barry.j.ke...@gmail.comwrote:
Gary wrote:
static void EnumerateWindows()BTW, I've replied in another thread.

-- Barry

--http://barrkel.blogspot.com/
Jan 14 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by amit | last post: by
reply views Thread by AMIT PUROHIT | last post: by
5 posts views Thread by Mike Labosh | last post: by
3 posts views Thread by David T. Ashley | last post: by
reply views Thread by Derek | last post: by
reply views Thread by Saiars | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.