Help with blitting to picture box
I need some help please.
I have a form with a picturebox on it, and what I need is some code to do the following:
MouseDown - Copy whatever is in the picturebox into a spot in memory.
MouseMove - Blit whatever is in the memory back to the picturebox.
MouseUp - Delete whatever was in memory.
I have tried playing around with CreatecompatibleDC and CreateCompatibleBitmap, but I just don't understand where I'm going wrong (maybe I just don't understand it at all). Any help would be muchly appreciated.
Thanks.
Please please please help.