I do this too ... but it's close the window , and not all the script ... I can see the process yet in task manager (under NT4)
off course , i hide the dos box so , i need kill the process ----- Original Message ----- From: "Aldo Calpini" <[EMAIL PROTECTED]> To: "Nahum Marc" <perl-win32-gui-users@lists.sourceforge.net> Sent: Wednesday, February 14, 2001 12:01 PM Subject: Re: [perl-win32-gui-users] The cancel cross (upper right) in GUI > Nahum Marc wrote: > > How to manage the the cancel cross (upper right) in GUI to do > > an exit ? , not a window exit , but a script exit ... > > pick a sample script, anyone will do, from the samples directory > and study it. > > <HINT> > supposing your window is named Window, add this line to your > script: > sub Window_Terminate { -1 } > </HINT> > > > cheers, > Aldo > > __END__ > $_=q,just perl,,s, , another ,,s,$, hacker,,print; > > > > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users >