G
Guest
I have a form with a number of panel controls on it. I have overriden the
paint event (of the panel controls) to provide custom painting. What I have
done is to use the Paint event to paint the background colour of a number of
panel controls to be a gradient colour. This works fine. Is there a better
way??
The problem I have is that when I resize the parent form I get alot of
flickering as the paint events are constantly fired. I have used Double
Buffering where possible but this does not appear to resolve the problem.
Any suggestions for reducing flickering when resizing controls with
overriden Paint events?
Many thanks.
paint event (of the panel controls) to provide custom painting. What I have
done is to use the Paint event to paint the background colour of a number of
panel controls to be a gradient colour. This works fine. Is there a better
way??
The problem I have is that when I resize the parent form I get alot of
flickering as the paint events are constantly fired. I have used Double
Buffering where possible but this does not appear to resolve the problem.
Any suggestions for reducing flickering when resizing controls with
overriden Paint events?
Many thanks.