M
Marge Inoferror
I am trying to display a number of images and have them scale when the
window is resized.
I have all the code to draw the window in an OnPaint() override.
However, it only draws correctly the first time it is displayed. When I
resize the window, it keeps the remnants of the first window and redraws
only in "new" areas of the window.
Is there a way to invalidate the entire window when OnPaint is invoked? I
thought I would get that automatically and that I would have to code smaller
invalidated rectangles if that's what I needed...
Thanks,
Marge
window is resized.
I have all the code to draw the window in an OnPaint() override.
However, it only draws correctly the first time it is displayed. When I
resize the window, it keeps the remnants of the first window and redraws
only in "new" areas of the window.
Is there a way to invalidate the entire window when OnPaint is invoked? I
thought I would get that automatically and that I would have to code smaller
invalidated rectangles if that's what I needed...
Thanks,
Marge