All, I have a gui window that can spawn multiple child windows, each with its own 'Close' button on it. The close button works fine if there is only one child window but fails to work if there are more than one. I understand why this is happening but cannot think of a good way around it! Anyone have any ideas or can point out the obvious? Cheers,
Darin -------------------------------------------- Darin Cruickshanks Labs Manager, Computing Service University of Essex [EMAIL PROTECTED] 01206 873585 -----Original Message----- From: Peter Eisengrein [mailto:[EMAIL PROTECTED] Sent: 25 April 2003 13:02 To: Cruickshanks, Darin; Perl-Win32-Gui-Users Subject: RE: [perl-win32-gui-users] Perl and printing There may be a better way, but here are two possible ways: ### THIS WILL BRING UP THE SAME PRINT WINDOW AS USED BY WEB BROWSER $dll = "$ENV{'WINDIR'}/System32/mshtml.dll"; system("rundll32.exe $dll,PrintHTML $file"); -OR- ### THIS MAY OR MAY NOT GIVE THE BEST RESULTS system("copy $file \\\\ServerName\\PrinterName"); Good luck. -----Original Message----- From: Cruickshanks, Darin [mailto:[EMAIL PROTECTED] Sent: Thursday, April 24, 2003 11:12 AM To: Perl-Win32-Gui-Users; [EMAIL PROTECTED] Subject: [perl-win32-gui-users] Perl and printing All, I have a Perl application that uses Win32::GUI to provide a nice front end for a database, what I would really like to do is provide a print feature with the ability to print to a network printer through the gui. Does anyone know of any way to do this? Cheers, Darin -------------------------------------------- Darin Cruickshanks Labs Manager, Computing Service University of Essex [EMAIL PROTECTED] 01206 873585