Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

OnResize and OnPaint

0 views
Skip to first unread message

dk60

unread,
Dec 31, 2009, 6:50:46 AM12/31/09
to
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?

Jeff Gaines

unread,
Dec 31, 2009, 8:00:35 AM12/31/09
to
On 31/12/2009 in message
<83a789b4-c738-4dbd...@r5g2000yqb.googlegroups.com> dk60
wrote:

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

--
Jeff Gaines Dorset UK
By the time you can make ends meet they move the ends

0 new messages