Clipping Problem

LOFRANK

Well-known member
Joined
Aug 26, 2003
Messages
49
Location
Naples
in my form Paint event , i fill the background with a gradient brush,

but every movement i do with the form cause a clipping from the refresh,

does someone know a simple code for make like surfaces for erase the clipping problems?
 
What do you mean a clipping from the refresh? You mean like a flicker?
When the form goes off screen and comes back, the paint event fires... that shouldnt erase anything that you have drawn. :)
 
i resolved the problem by making a bitmap in the paint event, and then using the Image property of the form.

anyway another soluction could be use BitBlt api function.

clipping i was meaning like a bad refresh ( sorry for the english , i talk just italian and russian) , example you draw something in the form and during the refresh you see the drawing pixels moving..
 
Back
Top