Solved

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

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Complete beginner needs help making a cron job 9 116
sumNumber challenge 16 122
if loop in java 3 141
wordappend challenge 8 177
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

773 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