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. HELP

HELP

Scheduled Pinned Locked Moved C#
graphicswinformsgame-devhelp
5 Posts 4 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.
  • V Offline
    V Offline
    vinay_K
    wrote on last edited by
    #1

    hi everyone I'm using GDI+ concept to draw a multiple sine waves in a panel, It is having more flickering.. if any Forms/window come above/infront of the panel that part of the region is again redrawn. is there any way to avoid re-drawing of that region by invalidating that region or something. or Can u suggest me is it good to switching from GDI+ to anyother concept like directx..

    S A 2 Replies Last reply
    0
    • V vinay_K

      hi everyone I'm using GDI+ concept to draw a multiple sine waves in a panel, It is having more flickering.. if any Forms/window come above/infront of the panel that part of the region is again redrawn. is there any way to avoid re-drawing of that region by invalidating that region or something. or Can u suggest me is it good to switching from GDI+ to anyother concept like directx..

      S Offline
      S Offline
      Simon P Stevens
      wrote on last edited by
      #2

      No, that's how GDI works. The programmer is responsible for redrawing any regions that require it.

      Simon

      1 Reply Last reply
      0
      • V vinay_K

        hi everyone I'm using GDI+ concept to draw a multiple sine waves in a panel, It is having more flickering.. if any Forms/window come above/infront of the panel that part of the region is again redrawn. is there any way to avoid re-drawing of that region by invalidating that region or something. or Can u suggest me is it good to switching from GDI+ to anyother concept like directx..

        A Offline
        A Offline
        Alan Balkany
        wrote on last edited by
        #3

        Double buffering may help with the flickering. Here's a link: http://www.bobpowell.net/doublebuffer.htm[^]

        A 1 Reply Last reply
        0
        • A Alan Balkany

          Double buffering may help with the flickering. Here's a link: http://www.bobpowell.net/doublebuffer.htm[^]

          A Offline
          A Offline
          andyjones12
          wrote on last edited by
          #4

          Have tried this not working for me. Please check again. Regards Andy VOIP

          A 1 Reply Last reply
          0
          • A andyjones12

            Have tried this not working for me. Please check again. Regards Andy VOIP

            A Offline
            A Offline
            Alan Balkany
            wrote on last edited by
            #5

            Why don't you describe your problem in a little more detail.

            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