469,326 Members | 1,601 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,326 developers. It's quick & easy.

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 1482
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
1 post views Thread by CARIGAR | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.