PDA

Click to See Complete Forum and Search --> : hey all you gurus check this one out!!!


thevbuser
Nov 12th, 2000, 08:05 PM
Can anyone help me with direct draw.
I want it to ,in my program for example, when the person clicks on something it pops up and says something then when they click something on the direct draw, the thing that popped up dissapears.??

Please dont give me another way around direct draw, i just want to use direct draw not other things

E-Mail me at:
Trigger975@yahoo.com

/\/\isanThr0p
Nov 13th, 2000, 09:43 AM
If you want the real gurus to answer, you should tell a little bit clearer what you want to do.

Do you just want to check for mouseclicks?

Just use the mousedownevent on the form you are displaying when u have ddraw. Then you can check if the mouse was clicked on a certain spot where you want to have a reaction.
Then you can pop up something if the click was in the right spot, by just blitting something on the backbuffer and flipping till the mouse was pressed again. then you return to you main loop.

thevbuser
Nov 13th, 2000, 08:52 PM
how do i display direct draw

/\/\isanThr0p
Nov 13th, 2000, 10:08 PM
go to http://www.ur.co.nz and look at the voidman tutorial!