Guojun Yang wrote:
I print a graphic on a window, but when I resize the window smaller than the image the image content outside of the window frame is gone even after I size it back to the original size. Can anyone suggest a solution?Thanks,

Without any code it's difficult to help you. I suspect that you haven't get understood how drawing on windows works: I expect that you'll find the drawing that you have done will disappear if you move another window over the front of your window, or minimise and restore your window, or do anything else that results in the window re-painting. You probably need to be doing your drawing in a the _Paint event handler.

If you post a *short* and *complete* example showing what you have tried, then I'm sure that there are plenty of people who will help.

Regards,
Rob.

Reply via email to