Some questions aout edits

This is a discussion on Some questions aout edits within the Windows Programming forums, part of the Platform Specific Boards category; Is there any why to have an edit automatically stay scrolled towards the bottem, i keep adding text to it ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    81

    Some questions aout edits

    Is there any why to have an edit automatically stay scrolled towards the bottem, i keep adding text to it by clicking buttons but every time it adds the new text thats been added onto the end of the old string it goes right to the top of the edit again and you need to scroll back down and it does that every time you reach text over 1 page long.

  2. #2
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    WS_AUTOVSCROLL

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    81
    That doesn't do anything, it still goes to the top line every time the edit box it updated with new text

  4. #4
    Registered User
    Join Date
    Jul 2002
    Posts
    36

    Exclamation

    SendMessage( hwndEdit, EM_LINESCROLL, 0, (int) SendMessage(hwndEdit, EM_GETLINECOUNT, 0, 0)-1 );

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. questions....so many questions about random numbers....
    By face_master in forum C++ Programming
    Replies: 2
    Last Post: 07-30-2009, 09:47 AM
  2. A very long list of questions... maybe to long...
    By Ravens'sWrath in forum C Programming
    Replies: 16
    Last Post: 05-16-2007, 06:36 AM
  3. Several Questions, main one is about protected memory
    By Tron 9000 in forum C Programming
    Replies: 3
    Last Post: 06-02-2005, 08:42 AM
  4. Trivial questions - what to do?
    By Aerie in forum A Brief History of Cprogramming.com
    Replies: 23
    Last Post: 12-26-2004, 09:44 AM
  5. questions questions questions.....
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-14-2001, 08:22 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21