PDA

Click to See Complete Forum and Search --> : Using Loops to display images


GingerVitus
Jun 11th, 2000, 12:45 AM
Hi all!
I'm currently creating a game for my project which is a shooting game and in the code I created a control array(to store the images)and using a loop to display the images one by one after a certain duration.
I know using loops is the answer to this but everytime i used a loop, the project will hang . Do any of u have any suggestions about what i should do to eliminate this problem?
thanks!

Fox
Jun 11th, 2000, 02:18 AM
Add a DoEvents in your loop, this will allow windows to handle the messages...