Results 1 to 4 of 4

Thread: [Solved] Double Buffered?

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    31

    [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
    Last edited by Dummy1912; Jun 27th, 2010 at 09:22 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width