Because I want to do this for every other programs, not just IE. My purpose with this is to have co related the PIDs and the HWND, that way I can say, instance_x of X program, give me your HWND so I can minimize it or whatever. If you know a way of have control (HWND) over several instances of the same program let me know.

Share this post

Link to post

Share on other sites

0Camus0 0

For the start you do not run IE (one instance or two), do not check the help file and do not have any error checking.

Do not be surprised by the results You get what you deserve.

Can you elaborate, I posted here because there are no more functions to deal with HWND/PID. Why I should not have one or more instances of IE? The program I posted is an example, not the actual code I'm using.

Share this post

Link to post

Share on other sites

0Camus0 0

For the start you do not run IE (one instance or two), do not check the help file and do not have any error checking.

Do not be surprised by the results You get what you deserve.

Can you elaborate, I posted here because there are no more functions to deal with HWND/PID. Why I should not have one or more instances of IE? The program I posted is an example, not the actual code I'm using.

Share this post

Link to post

Share on other sites

0Camus0 0

For the start you do not run IE (one instance or two), do not check the help file and do not have any error checking.

Do not be surprised by the results You get what you deserve.

Can you elaborate, I posted here because there are no more functions to deal with HWND/PID. Why I should not have one or more instances of IE? The program I posted is an example, not the actual code I'm using.