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?

Jonathan Southwick
[EMAIL PROTECTED]
Technical & Network Services
Allegheny College, Meadville, PA 16335
(814) 332-2755

At 11/8/2001 02:20 PM, you wrote:
>If a bunch of lines are copied into the RichEdit field and you get to the
>end the vertical scroll bar appears like it should but I would like what
>was last appended to be shown.  Right now I have to manually scroll to the
>end of the RichEdit field.  Is there a way to do this?

Yup. Select the millionth line ($logbox, in this case, being the RichEdit).

   # select our last line.
   $logbox->Select(999999,999999);

Concerning your wrapping problem - I'm not sure why you're not getting wrap. I use the exact same code in AmphetaDesk. See it here:

 http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/amphetadesk/
   AmphetaDesk/lib/Windows.pl?rev=1.36&content-type=text/vnd.viewcvs-markup

On a side note, HWoOWOo, Sourceforge added happy
blinking graphics to featured projects <g>:

   http://sourceforge.net/projects/amphetadesk


--
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
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users


Reply via email to