How Would i rotate my bitmap by using the keypress event? Lets say i press the left button, how would i make my image rotate left? Please Help Me! Thanx In Advance!
Steve
------------------
Printable View
How Would i rotate my bitmap by using the keypress event? Lets say i press the left button, how would i make my image rotate left? Please Help Me! Thanx In Advance!
Steve
------------------
When you say you want to press the left button, I assume you mean the left mouse button? The KeyPress event responds to the keyboard, not the mouse. To respond to the mouse buttons, you can use the Click, DblClick, MouseDown and MouseUp events of an object.
Anyway, to rotate the bitmap, have a look at the answer posted for "Rotating Bitmap", 08-22-1999.
Simply place the coding in the event procedure of your choice, and you're on your way.