Solved

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

Posted on 2001-06-21
3
194 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
In this post we will learn different types of Android Layout and some basics of an Android App.
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 video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

707 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