CurWindow
CURWINDOW (<window-number>)
The CURWINDOW internal function identifies the number of the window currently in focus if this window was open with the PARENT=NONE option. If a window number is given, then that window is given focus.
This is helpful when working with parent=none windows and F93.