!D.Window

The index of the currently open window. Set to –1 if no window is open. Used only with devices that support windows.