Hi all, I was wondering if there was any way to make text scroll from the bottom to the top of the screen like the credits in movies?
I have no real idea on this, but I thought of using Sleep() to gange the speed of the scroll. Here is my sample idea:
Code:
#include <iostream>
#include <windows.h>
using namespace std;
int main()
{
for(;;) // use a infinate loop to make sure it only ends at a point
{
// other code here - including text to scroll
Sleep(1400); // set the scroll speed
if ( txtscll == 100) // break loop at certain point
{
break;
}
}
return 0;
}
Please remember this is a snippit of an idea. I would really appreiciate any help or comments on how to go about this. Thanks - Pete!