Problem with BitBlt

nepalivb
04-28-2005, 03:50 AM
I am creating a 'Picture Match" game and i am using bitblt.
While starting a game, i load one whole picture into 41 picture boxes using bitblt, and i want it randomly,
but it is not working with rnd() function.
i am using bitblt in timer and the timer interval is 100.
every time picture should be same in picture box.
please help me
thankx

Machaira
04-28-2005, 10:34 AM
Can you post the code you're using?

xAuroNx
05-04-2005, 10:26 AM
Why are you using 41 different pictures? With bitblt... you just have to do it 40 times using one picture as your source. Use a couple variable arrays to store where the cards are to see if you click them...

snarfblam
05-04-2005, 01:10 PM
Why are you using 41 different pictures? With bitblt... you just have to do it 40 times using one picture
While starting a game, i load one whole picture into 41 picture boxes using bitblt

The problem could be how you use bitblt. It could be how you use the rnd function. More details (and probably some code) would be useful.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum