Re: EM_SCROLLCARET problem
From: J French (erewhon_at_nowhere.com)
Date: 04/21/04
- Next message: Jeremy Collins: "Re: Getting started again"
- Previous message: Gery: "EM_SCROLLCARET problem"
- In reply to: Gery: "EM_SCROLLCARET problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 21 Apr 2004 07:06:04 +0000 (UTC)
On Wed, 21 Apr 2004 14:42:29 +1000, Gery
<gprdataNO@SPAMMMMMzip.com.au> wrote:
>Hi to all and thanks for any replay's.
>
>I'm using RichEdit to display Div. length Text files.
>As I want always to see the end of the files
> I,m using
>RE.Perform(EM_SCROLLCARET, 0, 0);
>
>It does put the cursor at the eof ok, but the eof is not alwise at the
>bottom of the RE. If the file is shorter as the prev. one, no text is
>visible, as the eof is then one line above of the top of RE.
>
>How can I fix this that the eof is at the bottom of RE ?
Try forcing the cursor to the top of the file before using
EM_SCROLLCARET
If that does not work then you could use EM_SCROLL to force a page up
and then force the cursor into view
- Next message: Jeremy Collins: "Re: Getting started again"
- Previous message: Gery: "EM_SCROLLCARET problem"
- In reply to: Gery: "EM_SCROLLCARET problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|