|
-
Apr 15th, 2000, 06:55 AM
#1
Thread Starter
New Member
Hi people !
Some time ago I asked here for help to list all the running processes in Windows 95/98 and the code I got worked perfectly [thanks Serge :-) ].
But now I'm stuck again. The current situation is:
I have a list of all running processes including their process id. I can open a process (with "OpenProcess") and ask to terminate it and reallay terminate it with "TerminateProcess".
So good, so far. But I want to bring the window of this process on top, not terminate the process.
My question now is:
- How can I get a window handle if I got the process id
and/or the process handle ?
I need to get the correspondant window to a process in oder to use the functions "BringWindowToTop" or "SetActiveWindow"
since they need a window handle, not a process handle (which I get from "OpenProcess").
I know it is possible, the Windows Explorer does it in the task bar and all I want is to do the same. So please help me.
Rebecca
-
Apr 16th, 2000, 07:27 AM
#2
Fanatic Member
Hi,
here's someone who seems to be attempting something similar to you, a shell replacement...
http://forums.vb-world.net/showthrea...threadid=14160
On this forum
DocZaf
{;->
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|