|
-
Nov 27th, 2001, 08:23 AM
#1
Thread Starter
Fanatic Member
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
Kurt Simons
[I know I'm a hack but my clients don't!]
-
Nov 27th, 2001, 08:30 AM
#2
Good Ol' Platypus
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".
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Nov 27th, 2001, 09:11 AM
#3
Thread Starter
Fanatic Member
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?
Kurt Simons
[I know I'm a hack but my clients don't!]
-
Nov 27th, 2001, 03:50 PM
#4
Good Ol' Platypus
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/
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Nov 27th, 2001, 04:31 PM
#5
PowerPoster
Sas, why don't you finally remove these 4 or 5 lines of code declaring the constants? vbSrcCopy & Co. are pre-defined VB6 values...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|