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 problem

Flicker problem

Scheduled Pinned Locked Moved C#
helptutorialquestion
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.
  • A Offline
    A Offline
    AnonymousTwo
    wrote on last edited by
    #1

    Hello, I have a user control with a panel which contains a checkedlistbox on it. I'm changing the controls sizes in the mousemove event, the problem is that it starts flickering. I have another user control which has a treeview instead of checkedlistbox and there is no such problem. So is the problem in the checkedlistbox control ? I used SetStyles with UserPaint, DoubleBuffer, AllPaintingInWmPaint for the user control but it didn't help. Any suggestions how to solve the problem? Thanks

    R 1 Reply Last reply
    0
    • A AnonymousTwo

      Hello, I have a user control with a panel which contains a checkedlistbox on it. I'm changing the controls sizes in the mousemove event, the problem is that it starts flickering. I have another user control which has a treeview instead of checkedlistbox and there is no such problem. So is the problem in the checkedlistbox control ? I used SetStyles with UserPaint, DoubleBuffer, AllPaintingInWmPaint for the user control but it didn't help. Any suggestions how to solve the problem? Thanks

      R Offline
      R Offline
      radic feng
      wrote on last edited by
      #2

      It seems flicker problem is a big disadvantage of C#, I developed a drawing tool using C#, It flicked terribly when drawing more figures. And I also use DoubleBuffer, AllPaintingInWmPaint. Its effect is not so good.

      A 1 Reply Last reply
      0
      • R radic feng

        It seems flicker problem is a big disadvantage of C#, I developed a drawing tool using C#, It flicked terribly when drawing more figures. And I also use DoubleBuffer, AllPaintingInWmPaint. Its effect is not so good.

        A Offline
        A Offline
        AnonymousTwo
        wrote on last edited by
        #3

        Hi, I have another problem. The user control I'm using is shown in a grid cell. When I click the cell I set the sizes of the panel, checkedlistbox and the form so they fit in the cell. The strange thing is when I show the form if it is less than 112pxl it is set to them. I can't think what can cause this problem . Any ideas?

        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