in reply to Re: Win32: Can I interact with windows I didn't create?
in thread Win32: Can I interact with windows I didn't create?

I've been searching for a way to detect a window if it is under the mousecursor but I haven't found a way.. any ideas?
  • Comment on Re^2: Win32: Can I interact with windows I didn't create?

Replies are listed 'Best First'.
Re^3: Win32: Can I interact with windows I didn't create?
by Corion (Patriarch) on Jan 16, 2009 at 21:03 UTC
      Awesome I've found a way to get the window I want now I'm trying to figure out how to get at the widgets in the window... there is a listbox which has several columns and I want to get the data in each column and I'm not sure how to do it because I don't have it's id or anything...

        Do you read the Win32::GuiTest documentation at all? The functions are in there. Just use them.

        To find out the id of a control on a window, you will have to use a program like WinSpy or the spy-- program that comes with Win32::GuiTest. It tells you about the ids of all controls below a window. Usually, control ids don't change across runs of a program.