You might also try adding ES_AUTOVSCROLL to the RichEdit's -style This can be problematic, though. As I recall, it refreshes the RichEdit's data every time there's new data added. Of course, my memory ain't what it used to be, so I may be way off... :)
> -----Original Message----- > From: Morbus Iff [mailto:[EMAIL PROTECTED] > Sent: 08 November 2001 14:53 > To: Jonathan Southwick; [email protected] > Subject: Re: [perl-win32-gui-users] Putting cursor at end of RichEdit > > > At 02:43 PM 11/8/01, Jonathan Southwick wrote: > >I tried that and it does not scroll to the end of the > RichEdit field, it > >just places the cursor there. I even tried to add a > SetFocus and that > >doesn't help. Anyone else have any ideas? > > Did you try any of the rest in the script I pointed you to? > > # select our last line. > $logbox->Select(999999,999999); > $logbox->ReplaceSel("$message\n", 1); > select(undef, undef, undef, 0.25); > > # autoscroll the log box. > $logbox->SendMessage (0x115, 1, 0) while $message =~ /\n|$/g; > > This works perfectly in AmphetaDesk. An example of its operation: > > http://www.disobey.com/amphetadesk/images/ss-base-gui.jpg > > The above is a picture of a RichEdit that is automatically > scrolled for each new message entered into it. > > > -- > Morbus Iff ( softcore vulcan porn rulezzzzz ) > http://www.disobey.com/ && http://www.gamegrene.com/ > please me: http://www.amazon.com/exec/obidos/wishlist/25USVJDH68554 > icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus > > > > > _______________________________________________ > Perl-Win32-GUI-Users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users >

