Thread: Some questions aout edits

  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

  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, 08: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, 05: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, 07: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, 07:22 AM