Results 1 to 2 of 2

Thread: Rotating Bitmaps with keydown event?!?!

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800

    Post

    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

    ------------------


  2. #2
    Addicted Member Shrog's Avatar
    Join Date
    Aug 1999
    Location
    Darkest Africa
    Posts
    186

    Post

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width