From: Glenn L. <Gle...@ne...> - 2002-01-24 21:49:42
|
Careful... you get more than one process doing the append thing, and you'll lose some of the appends, if they happen concurrently. Unless you have a separate control for each process to use. Scott Campbell wrote: >=20 > It would appear that the Perl gods have found favor with you. > This works like a charm. Very impressive. >=20 > Thank you so much for the help. > Scott >=20 > Scott Campbell > Senior Software Developer > Somix Technologies > (207) 324-8805 > http://www.somix.com >=20 > -----Original Message----- > From: per...@li... > [mailto:per...@li...] On Behalf Of > Johan Lindstrom > Sent: Thursday, January 24, 2002 10:29 AM > To: per...@li...; > per...@li... > Subject: RE: Sending text to other windows with Win32::GUI >=20 > At 09:25 2002-01-24 -0500, Scott Campbell wrote: > >Yes, this is very simple and works! Thank you. > >My one wish is that whenever text is sent to the main gui window, it > >would append it on, and not overwrite the current text already in the > >window. But I don't see a simple way to do this. >=20 > Try this (untested): > Win32::GUI::Text( $hwind, Win32::GUI::Text($hwind) . $text ); >=20 > Why does that work? (if it works :) > $win->Text() returns the text. >=20 > /J >=20 > -------- ------ ---- --- -- -- -- - - - - - > Johan Lindstr=F6m Sourcerer @ Boss Casinos jo...@ba... >=20 > Latest bookmark: "Managing IMAP Chapter 9 Cyrus System Adminis..." > http://www.oreilly.com/catalog/mimap/chapter/ch09.html >=20 > _______________________________________________ > Perl-Win32-Users mailing list > Per...@li... > http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users >=20 > _______________________________________________ > Perl-Win32-Users mailing list > Per...@li... > http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users --=20 Glenn =3D=3D=3D=3D=3D Due to the current economic situation, the light at the end of the tunnel will be turned off until further notice. |