Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
How can I stop the text I send to my edit window from scrolling off the bottom of the window? I wish to keep the last appended text added to the window in view and have the previous text scroll up out of sight. eg. the window adds text at the top, then adds text to the next line below etc until it reaches the bottom of the window. Then all new text is still appended but kept in view, the old text will scroll up. Or something similar will do.
I use C calling WIN32 API.: CreateWindow () to create the edit box.
I set the text using: SetDlgItemText()