[Solved] Double Buffered?
Hello Guys,
I have a problem
I have a backgroundpicture in the form and 2 panels 'transparant'
problem is now as I have a great many of buttons on the screen
and when i scroll down my screen will flicker a lot :(
I have set the form1 doublebuffered = true
and i have used a code.
And that works perfectly
Code:
Public Sub EnableDoubleBuffering()
' Set the value of the double-buffering style bits to true.
Me.SetStyle(ControlStyles.DoubleBuffer _
Or ControlStyles.UserPaint _
Or ControlStyles.AllPaintingInWmPaint, _
True)
Me.UpdateStyles()
End Sub
if you don't have many buttons offcourse
it start when you have a lot of buttons on the screen
but when you scroll down its go all wrong :(
and i have used the panel_paint but when i do that and set
Code:
doublebuffered = true
and start it again its just flicker like crazy and the program stuck :(
please somebody that can help?
Dummy1912