PRO SHOWALL,windows ;+ ;showall,[windows] sequentially displays all possible active windows. ;showall,window displays the windows and returns the list of windows. ; ;H. Rhody ;September 30, 2005 ;- DEVICE,WINDOW_STATE=w IF min(w) LT 0 THEN BEGIN PRINT,"There are no windows to show" window=-1 ENDIF ELSE BEGIN windows=where(w GT 0) for i=0,n_elements(windows)-1 do wshow,windows[i] ENDELSE END