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: perl-win32-users-admin@...
> [mailto:perl-win32-users-admin@...] On Behalf Of
> Johan Lindstrom
> Sent: Thursday, January 24, 2002 10:29 AM
> To: perl-win32-users@...;
> perl-win32-gui-users@...
> 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 johanl@...
>=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
> Perl-Win32-Users@...
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
>=20
> _______________________________________________
> Perl-Win32-Users mailing list
> Perl-Win32-Users@...
> 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.
|