Urgent:Using a BMP picture to show the Joystick movement!
Posted on 1998-05-14
Hi! When I change the X axis and Y axis position of Joystick, I would like to use a BMP picture from Resoruce editor (LoadBitmap(IDB_XXX) ) to show the Joystick movement. Right now I do understand how to calculate the relative position on the Client area of Windows , so you do not teach me how to do it. My big problem is that I do not know how to erase the BMP picture at the old position and generate this BMP picture at the new position after Joystick moved. If you could write a piece of code for doing this, and explain it a little, I would be very grateful.
Thank a lot!.