Ever used Photoshop? When you have an image, you can press the spacebar and the cursor turns into a hand, then you can left click and drag the image. If the SpaceBar is not pressed, then I do not want the image to move, but want to use the mouse to draw a box.
I can not figure out how to check for the Keyboard and the Left Mouse Button. If I use GetAsyncKeyboardState(32) then it works normally, but not for TImage. You see when I press the spacebar, it presses the active button and runs stuff. When I am on something that doesn't cause a problem, it still doesn't seem to recognize it. Any help would be appreciated.
Also, it should only be a hand when you are over the picture with the mouse, so that when you are not over the picture, then it is just like normal.