Situation: Palette Window, _keepWndActive, ID of say 128 Complicators: Document windows, ID's from 1 to _MaxDocs, say 24, all _KeepInBack My problem is tracking what window is where, regarding the doc windows. Say I close my currently known front doc window, gMainDoc...If I use Window(_activeWindow), that will always return the Palette window, correct? being that it is always the current active window and with _KeepWndActive flag? So how can I know the layer, or order the rest of the doc windows are in, so I know which one is now the frontmost of the Doc windows? Window(_output) might work, but if that is the palette window, then that fails. FN FRONTWINDOW will return the palette window , will it not? How then to go about getting the current order of front to back of all open document windows? Can you travel the Window block somehow, and get the order that way? Any clues? Wondering how you handle multiple document windows for closing by menu, since that requires a knowledge of the next window I would think if you are closing them sequentially. Closing by close box is easy enough, because then you are given an ID. But now lets say none of this applies .. just for theory's sake : you have 12-24 documents open.. How could you divine the current order of front to back? Maybe you just want to tile them or something...and you wish to keep them in the current order of stacking. Window Challenged, Robert Covington