Hi!
I want to write a scroll text function for a console mode application for win32 but I have no idea how to do that. This scroll function should be the same as it is in windows. I need some tips and ideas how to write a scroll funtion.
Example:
Now, when I'll press the DOWN button the (line 8) will appear and (line 1) will disappear. If i press UP button (line 8) will disappear and (line 1) will appear. Get it?!Code:-------------------------------------------
(line 1)- text text text text text UP
(line 2)-sdfsdfsdfsdfsdfsdfsdfsdf
(line 3)-sdfsdfsdfsdfsdfsdfsdfsdf
(line 4)-dsfsdfsdfsdfdsfsdfsdfsdf
(line 5)-dsfsdfdsfdfdfdfdfdfdfdfdf
(line 6)-dfdfdfdfdfdfdfdfdfdfdfdfdf
(line 7)-fdddddddddddddddddd DOWN
-------------------------------------------
How to do that ???
I'm using VC++ .NET on WinXP.
And thank you in advance for your help.