Hi Michelle
I havent read through this entire thread but have you (anyone) looked at the Wchild() function? In the help file it says:
WCHILD - Returns either the number of child windows in a parent window or the names of the child windows in the order in which they are stacked in the parent window.
I use this function in a loop as suggested in the help to find the *names* of all my open windows and which one is currently on top.
HTH
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.