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. flicker free drawing....

flicker free drawing....

Scheduled Pinned Locked Moved C#
graphicsquestion
3 Posts 2 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.
  • D Offline
    D Offline
    Denver Thomas
    wrote on last edited by
    #1

    hi friends , I had a project to draw on a panel..I used draw line method and draw rectangle method to for drawing.It was on 2003.I converted it into 2005.But now it is showing high flickering.Is there any way to avoid flickering ? with warm regards Dyno :) :suss::cool:

    E 1 Reply Last reply
    0
    • D Denver Thomas

      hi friends , I had a project to draw on a panel..I used draw line method and draw rectangle method to for drawing.It was on 2003.I converted it into 2005.But now it is showing high flickering.Is there any way to avoid flickering ? with warm regards Dyno :) :suss::cool:

      E Offline
      E Offline
      ervegter
      wrote on last edited by
      #2

      Well Denver, If you do a little searching yourself on CodeProject it will give you numerous solutions in a couple of seconds..... But since I'm already answering your request, here we go: have you tried the following: Make a new class that inherites from panel control. Override the OnPaintBackground and OnPaint methods. Setting the ControlStyles.DoubleBuffer property on the panel might do the trick as well. This site might help too: http://www.codeproject.com/KB/GDI-plus/flicker\_free.aspx Happy coding.

      modified on Thursday, October 9, 2008 3:08 AM

      D 1 Reply Last reply
      0
      • E ervegter

        Well Denver, If you do a little searching yourself on CodeProject it will give you numerous solutions in a couple of seconds..... But since I'm already answering your request, here we go: have you tried the following: Make a new class that inherites from panel control. Override the OnPaintBackground and OnPaint methods. Setting the ControlStyles.DoubleBuffer property on the panel might do the trick as well. This site might help too: http://www.codeproject.com/KB/GDI-plus/flicker\_free.aspx Happy coding.

        modified on Thursday, October 9, 2008 3:08 AM

        D Offline
        D Offline
        Denver Thomas
        wrote on last edited by
        #3

        thanxx a ton my friend

        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