question in MFC when drawing
i want to move a picture which was drawed by me and rub the original.how ca开发者_如何学Cn i do?
The easiest solution for this is to keep the original picture in a memory DC. Draw the image to it, then BitBlt it to the screen. When you want to move it, erase your window and BitBlt it again - now at the new location.
精彩评论