Solved

CEdit auto scrolling

Posted on 2000-05-17
4
251 Views
Last Modified: 2013-11-20
I have a multilined edit box which i send text to with "/r/n" in front of it, this makes the text enter on a new line each time I send it. However, when the text gets to the last line on the dialog it keeps going down where you can't see it. How can i get the edit box to auto scroll down when the text goes off the screen?
0
Comment
Question by:scooter1
  • 2
4 Comments
 
LVL 2

Expert Comment

by:paulburns
ID: 2819835
Do you have the 'Auto VScroll' style set? Look in the properties for the edit box in the dialog editor to check this.
0
 

Author Comment

by:scooter1
ID: 2819862
that does not work
0
 
LVL 3

Accepted Solution

by:
_mb_ earned 20 total points
ID: 2820073
After appending the text you can try to call
m_yourEdit.SetScrollPos(SB_VERT, 100); to scroll to the end of the text.
0
 

Author Comment

by:scooter1
ID: 2822455
Thank you.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seveā€¦
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now