Click to See Complete Forum and Search --> : Paint & drawreversibleframe


rincevent72
February 29th, 2008, 05:29 AM
Hi,
i'm submitting a problem with the drawreversibleframe.
I got a user control wich uses the controlpaint.drawreversibleframe to draw selection rectangle whith mouse action.
Everything OK as the control doesn't repaint.
I got a timer that invalidate regularly the control and the frame are erased.
I tried to include the control in another and to catch selection in the parent. The result is the same, each painting erase my frame.

Any solution?

jon.borchardt
February 29th, 2008, 03:23 PM
try to override the drawbackground and cancel the event...

rincevent72
March 3rd, 2008, 02:18 AM
Thanks for reply,

I was thinking about canceling the event during selection time.
I'm going to try this way...