PDA

Click to See Complete Forum and Search --> : Waterfall Effect in VB6


tinman_22
Aug 18th, 1999, 12:21 AM
I am trying to implement a waterfall effect in a VB6 control. For a series of input data, this will be converted to a pixel line of 1024 pixels wide. When a new set of data comes in it will have a new line of 1024 and the old one will be shifted down and so on. I already have the data ready, can put it into an array containing the color code but how do I get the array into a bitmap on the screen and what is the best control to use. I have looked through many books and cannot seem to find the answer. Help !!! :-)

chiahawk
Aug 19th, 1999, 07:54 AM
Perhaps you could try using the GDI API call SetPixel (gdi32.lib). I am not sure if it would be fast enough, but it's worth a try.

loosethread
Aug 23rd, 1999, 01:20 PM
You could try using bitblt To learn this the best tutorial I have found is at http://www.geocities.com/SiliconValley/Park/6981/tut_bitblttrans.htm