Click here to Skip to main content
15,911,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow do i automatically scroll to the bottom of a edit control when text gets added? Pin
Redeemer-dk1-Dec-02 10:03
Redeemer-dk1-Dec-02 10:03 
I have an edit control working as a log, but when new text gets added to the control that makes the scrollbar active, it scrolls to the top so you can't see what has happened. Is it possible to set it to scroll to the bottom automatically, or is there a message you can send so it does it? I'm programming Win32 BTW.

Thanks all.
AnswerRe: How do i automatically scroll to the bottom of a edit control when text gets added? Pin
Daniel Ferguson1-Dec-02 14:17
Daniel Ferguson1-Dec-02 14:17 
Generalfriend member function can't access private member var?? what's wrong Pin
ttzzgg_807131-Dec-02 8:29
ttzzgg_807131-Dec-02 8:29 
Generalerror C2248: 'm_idParent' : cannot access private member declared in class 'DownKind'------>this is the error infomation Pin
ttzzgg_807131-Dec-02 8:31
ttzzgg_807131-Dec-02 8:31 
GeneralRe: error C2248: 'm_idParent' : cannot access private member declared in class 'DownKind'------>this is the error infomation Pin
Christian Graus1-Dec-02 9:51
protectorChristian Graus1-Dec-02 9:51 
GeneralRe: friend member function can't access private member var?? what's wrong Pin
Christian Graus1-Dec-02 9:50
protectorChristian Graus1-Dec-02 9:50 
GeneralRe: friend member function can't access private member var?? what's wrong Pin
ttzzgg_807131-Dec-02 22:24
ttzzgg_807131-Dec-02 22:24 
GeneralQueue help Pin
ian_ok1-Dec-02 4:15
ian_ok1-Dec-02 4:15 
GeneralRe: Queue help Pin
Christian Graus1-Dec-02 12:56
protectorChristian Graus1-Dec-02 12:56 
GeneralRe: Queue help Pin
Dudi Avramov1-Dec-02 5:21
Dudi Avramov1-Dec-02 5:21 
GeneralRe: Queue help Pin
geo_m1-Dec-02 8:20
geo_m1-Dec-02 8:20 
GeneralRe: Queue help Pin
Christian Graus1-Dec-02 12:57
protectorChristian Graus1-Dec-02 12:57 
GeneralRe: Queue help Pin
geo_m1-Dec-02 13:24
geo_m1-Dec-02 13:24 
GeneralRe: Queue help Pin
Christian Graus1-Dec-02 13:28
protectorChristian Graus1-Dec-02 13:28 
GeneralRe: Queue help Pin
geo_m1-Dec-02 13:55
geo_m1-Dec-02 13:55 
GeneralRe: Queue help Pin
Christian Graus1-Dec-02 14:01
protectorChristian Graus1-Dec-02 14:01 
GeneralRe: Queue help Pin
ian_ok1-Dec-02 8:52
ian_ok1-Dec-02 8:52 
GeneralRe: Queue help Pin
Christian Graus1-Dec-02 12:59
protectorChristian Graus1-Dec-02 12:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.