Jump to content

How to get window associated with a process?


dem3tre
 Share

Recommended Posts

Is it possible to determine what window(s) are associated with a given process? Here's my situation - I have a process that kicks off whose title is randomized (don't ask why - it aint my code). The one thing I do have is its PID since the process name doesn't change of course.

EDIT: forgot to mention its basically a console application so there aren't any specific controls that i could look for by enumerating all the windows.

I'd love to be able to hide this sucker when it pops up.

Any ideas?

Thanks!

Edited by dem3tre
Link to comment
Share on other sites

Hmm, thanks for the suggestion but not what I'm looking for, though I do hope to use that function :)

The problem is that I don't have a handle to the window in question and cannot do a simple text search to find it. All I have is the PID of the running process.

Link to comment
Share on other sites

So, are you trying to find a way to identify what windows are using a certain process?

Edited by BALA
[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...