I’ve got 5 windows in an application. I want to select which windows are visible from a menu. That works, more or less. I just toggle window visibility from the menu, and check the item if visible, uncheck if not. But it is kind of a bother when the window of interest is visible, but covered by another window. Then If an already-visible window is not at the top of the pile, then I want it brought to the top. But I don’t see a Window property to indicate which window has focus.
Can anyone tell me how to go about ascertaining whether a window is the top window?