vis781
Well-known member
Problem with double buffering
hi there can anyone help me solve this, most likely really simple problem.
I am developing a user control and have started very simple, i.e just drawing an ellipse and setting a property to change the border colour on mouse enter. This part all works fine however, when i put the control onto a form it doesn't appear until the mouse goes into it. Also to boot i cant see it in the designer, Can anyone tell me why this is PLEASE as its driving be bonkers.
Its ok iv'e worked this one out, it was because i was using
SETSTYLE(AllpaintinginWMpaint,true)
But if this is the case how can i double buffer my control for smooth animation if it's going t make it flicker
hi there can anyone help me solve this, most likely really simple problem.
I am developing a user control and have started very simple, i.e just drawing an ellipse and setting a property to change the border colour on mouse enter. This part all works fine however, when i put the control onto a form it doesn't appear until the mouse goes into it. Also to boot i cant see it in the designer, Can anyone tell me why this is PLEASE as its driving be bonkers.
Its ok iv'e worked this one out, it was because i was using
SETSTYLE(AllpaintinginWMpaint,true)
But if this is the case how can i double buffer my control for smooth animation if it's going t make it flicker
Last edited: