OnResize and OnPaint

  • Thread starter Thread starter dk60
  • Start date Start date
D

dk60

in my application, the user creates graphics (ellipses etc.) on the
form, but when the form repaints or resizes the graphics disappear. is
there a simple way to make the methods OnPaint and OnResize draw
everything that's on the form?
 
in my application, the user creates graphics (ellipses etc.) on the
form, but when the form repaints or resizes the graphics disappear. is
there a simple way to make the methods OnPaint and OnResize draw
everything that's on the form?

Yes.
You need to save what the user is drawing and then re-draw it in OnPaint.
 
Back
Top