Jump to content

Recommended Posts

Posted

Is there a way to find out the window handle of the most recent window that has opened? I have a program that launches a new window that I need to take control of, but the new window isn't active when it launches and it has the same title as the program that launched it! Any ideas? Thanks!

Progress lies not in enhancing what is, but in advancing towards what will be. - Kahlil Gibran
Posted

I don't know if it's possible that way, but I guess you could get the handle of the main window. Then, having this handle, wait for another window with the same title but different handle.

Posted

Great suggestions everyone! Thanks - I just needed some ideas.

Progress lies not in enhancing what is, but in advancing towards what will be. - Kahlil Gibran

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
  • Recently Browsing   0 members

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