home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Education
/
collectionofeducationcarat1997.iso
/
COMPUSCI
/
BCHREF.ZIP
/
WINPLACE.WBT
< prev
next >
Wrap
Text File
|
1992-05-22
|
1KB
|
34 lines
; DEBUG(@ON)
; This routine is launched by NBWIN.WBT/NBWIN2.WBT and constantly monitors all
; windows. It repositions Advisor's windows as they appear so that
; Norton Backup's main screen will remain visible. It is closed by
; the NBWIN.WBT file when user exits the tutorial.
; CHECK FOR EXISTENCE OF NBWIN 1.2
:CheckNBWin12 ; NBWIN 1.2 exists
if winexist("Batch Runner - nbwin.wbt")==@true then goto NBWin12Loop
:CheckNBWin2
if winexist("Batch Runner - nbwin2.wbt")==@false then exit ; if NBWIN 1.2 and 2.0 do not exist
goto NBWin2Loop ; NBWIN 2.0 exists
;** BEGIN LOOP FOR NBWIN 1.2
:NBWin12Loop
if winexist("Batch Runner - nbwin.wbt")==@false then exit ; if NBWin12 does not exist, don't move
if winexist("Norton Backup - DEFAULT.SET")==@false then goto NBWin12Loop
if winexist("Advisor")==@true then winplace(0,0,@noresize,@noresize,"Advisor")
goto NBWin12Loop
;** END LOOP FOR NBWIN 1.2
;** BEGIN LOOP FOR NBWIN 2.0
:NBWin2Loop
if winexist("Batch Runner - nbwin2.wbt")==@false then exit
if winexist("Norton Backup - DEFAULT.SET")==@false then goto NBWin2Loop
if winexist("Advisor")==@true then winplace(0,0,@noresize,@noresize,"Advisor")
goto NBWin2Loop
;** END LOOP FOR NBWIN 2.0