-
Teleprompter
I know its not a game but I think it falls under the animation category!
I need to write a teleprompter for a TV station. I just need to know how to make words scroll up and down the screen. I tried to do it with labels put it failed miserably with all sorts of flicker
-
You can do this using the TextOut API. Put it on a picturebox then copy that whole picturebox to another, eliminating the flicker. The first picturebox is called a "backbuffer".
-
Sastraxi,
I loaded text into a picture box (got in from another post while searching for TextOut API)
so I have my text in the text box and it is scrolling, how do I do this backbuffer thing?
-
You know how you use .Cls to remove whatever was on the picturebox, and this causes flicker? You would then directly Bitblt or PaintPicture this onto another picturebox, which you DONT use CLS on. This makes it so you never see nothing, therefore eliminating the flicker.
For tutorials on BitBlt, see my tutorial:
http://vbden.tripod.com/articles/invmask.htm
or Fox's tutorial:
http://fox.acky.net/
-
Sas, why don't you finally remove these 4 or 5 lines of code declaring the constants? vbSrcCopy & Co. are pre-defined VB6 values...