Solved

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

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

758 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

18 Experts available now in Live!

Get 1:1 Help Now