Solved

how to scroll a text in a window without using scrollbar?

Posted on 2001-06-21
3
193 Views
Last Modified: 2013-11-20
There's some static text displayed in the window. I need to make a string keep scrolling at the bottom of the window, below this text. How to do it?
-Grace
0
Comment
Question by:GraceV
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

Expert Comment

by:Pacman
ID: 6217144
draw the text and move it one pixel to the left each time.
You can trigger it within a timer function.
0
 

Accepted Solution

by:
Andrian earned 50 total points
ID: 6217206
Use CEdit with options WS_DISABLED* | NOT WS_BORDER and you can set your cursor at the end like this:

CEdit ::GetWindowText(strText);
iLen=strText.GetLength();
CEdit ::SetSel(iLen,iLen);
0
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 9490035
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered by : Andrian

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Roshan Davis
EE Cleanup Volunteer
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

749 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