a really irritating problem

vis781

Well-known member
Joined
Aug 30, 2005
Messages
2,016
Location
Cambridge, UK
Programming Experience
5-10
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.
:mad:

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:
Back
Top