Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. DoubleBuffered

DoubleBuffered

Scheduled Pinned Locked Moved C#
graphicstutorialquestion
7 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HexaDeveloper
    wrote on last edited by
    #1

    hi all i make a form to draw in it and to eliminate graphics flicker i made this.DoubleBuffered = true; now i transfered my work to work on TabControl but i donot know how to do DoubleBuffered in it so how can i do it thanx Generator

    P 1 Reply Last reply
    0
    • H HexaDeveloper

      hi all i make a form to draw in it and to eliminate graphics flicker i made this.DoubleBuffered = true; now i transfered my work to work on TabControl but i donot know how to do DoubleBuffered in it so how can i do it thanx Generator

      P Offline
      P Offline
      Patrick Etc
      wrote on last edited by
      #2

      Unfortunately you're going to run into a wall when trying to make the TabControl double buffered. You can get the tab area itself to double buffer by extending the TabControl and setting this.DoubleBuffered = true, but that still won't fix the flicker in the tab pages themselves. At that point it makes more sense to write your own tab control, given the amount of effort you'd go to to extend the existing one just to double buffer it.

      ------------ Cheers, Patrick

      B H 2 Replies Last reply
      0
      • P Patrick Etc

        Unfortunately you're going to run into a wall when trying to make the TabControl double buffered. You can get the tab area itself to double buffer by extending the TabControl and setting this.DoubleBuffered = true, but that still won't fix the flicker in the tab pages themselves. At that point it makes more sense to write your own tab control, given the amount of effort you'd go to to extend the existing one just to double buffer it.

        ------------ Cheers, Patrick

        B Offline
        B Offline
        Brady Kelly
        wrote on last edited by
        #3

        There seems to be growing dissatisfaction with the lack of control people have over the TabControl. It looks like it may be heading in the same direction as that nasty little piece of work, the ListView.

        P 1 Reply Last reply
        0
        • B Brady Kelly

          There seems to be growing dissatisfaction with the lack of control people have over the TabControl. It looks like it may be heading in the same direction as that nasty little piece of work, the ListView.

          P Offline
          P Offline
          Patrick Etc
          wrote on last edited by
          #4

          Brady Kelly wrote:

          There seems to be growing dissatisfaction with the lack of control people have over the TabControl. It looks like it may be heading in the same direction as that nasty little piece of work, the ListView.

          Absolutely. I've already abandoned both controls and use custom solutions now (not ones I wrote, 3rd party controls, but free with source code). I just got so fed up with trying to shoehorn them into doing what I wanted that I decided to stop wasting my time and went with something that actually works the way I want it to. The ListView in particular is nasty. It's so seductive, so seemingly easy to create a list-based data presentation, and yet if you try to do even SMALL things outside of what it was designed for you quickly run into multiple impossibilities.

          ------------ Cheers, Patrick

          B 1 Reply Last reply
          0
          • P Patrick Etc

            Brady Kelly wrote:

            There seems to be growing dissatisfaction with the lack of control people have over the TabControl. It looks like it may be heading in the same direction as that nasty little piece of work, the ListView.

            Absolutely. I've already abandoned both controls and use custom solutions now (not ones I wrote, 3rd party controls, but free with source code). I just got so fed up with trying to shoehorn them into doing what I wanted that I decided to stop wasting my time and went with something that actually works the way I want it to. The ListView in particular is nasty. It's so seductive, so seemingly easy to create a list-based data presentation, and yet if you try to do even SMALL things outside of what it was designed for you quickly run into multiple impossibilities.

            ------------ Cheers, Patrick

            B Offline
            B Offline
            Brady Kelly
            wrote on last edited by
            #5

            Patrick Sears wrote:

            The ListView in particular is nasty. It's so seductive, so seemingly easy to create a list-based data presentation, and yet if you try to do even SMALL things outside of what it was designed for you quickly run into multiple impossibilities.

            It's also just plain damn ugly.

            1 Reply Last reply
            0
            • P Patrick Etc

              Unfortunately you're going to run into a wall when trying to make the TabControl double buffered. You can get the tab area itself to double buffer by extending the TabControl and setting this.DoubleBuffered = true, but that still won't fix the flicker in the tab pages themselves. At that point it makes more sense to write your own tab control, given the amount of effort you'd go to to extend the existing one just to double buffer it.

              ------------ Cheers, Patrick

              H Offline
              H Offline
              HexaDeveloper
              wrote on last edited by
              #6

              Patrick Sears wrote:

              get the tab area itself to double buffer by extending the TabControl and setting this.DoubleBuffered = true, but that still won't fix the flicker in the tab pages themselves.

              can u explain these statments please thanx Generator

              H 1 Reply Last reply
              0
              • H HexaDeveloper

                Patrick Sears wrote:

                get the tab area itself to double buffer by extending the TabControl and setting this.DoubleBuffered = true, but that still won't fix the flicker in the tab pages themselves.

                can u explain these statments please thanx Generator

                H Offline
                H Offline
                HexaDeveloper
                wrote on last edited by
                #7

                hi all i think that i found a method that i can use using drawing in memory as bitmap and then draw my background in the bitmap and draw bitmap again to the screen can any one tell me how to begin search how to use this technique thanx Generator Generator

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups