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. Avoid trailing while dragging control

Avoid trailing while dragging control

Scheduled Pinned Locked Moved C#
question
5 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.
  • S Offline
    S Offline
    sinosoidal
    wrote on last edited by
    #1

    Hi, I have implemented a control dragging system. Basicly i'm dragging panels inside a panel. The thing is that i decided to put an image in the main panel background. But that makes my other panels leave a trail when i drag them. Does anyone has an explanation/solution for this? Thx, Nuno

    A 1 Reply Last reply
    0
    • S sinosoidal

      Hi, I have implemented a control dragging system. Basicly i'm dragging panels inside a panel. The thing is that i decided to put an image in the main panel background. But that makes my other panels leave a trail when i drag them. Does anyone has an explanation/solution for this? Thx, Nuno

      A Offline
      A Offline
      Alaric_
      wrote on last edited by
      #2

      ...A persistent trail? Meaning, it ghosts the panel all over the place and they artifact the screen? Try putting your panels inside a BufferedGraphics object(you need to double buffer your screen display....a BufferedGraphics object will implement the backbuffer for you)

      Welcome my son...Welcome..to the Machine

      S 1 Reply Last reply
      0
      • A Alaric_

        ...A persistent trail? Meaning, it ghosts the panel all over the place and they artifact the screen? Try putting your panels inside a BufferedGraphics object(you need to double buffer your screen display....a BufferedGraphics object will implement the backbuffer for you)

        Welcome my son...Welcome..to the Machine

        S Offline
        S Offline
        sinosoidal
        wrote on last edited by
        #3

        Hi, Thx for your reply. Can you point me an example? Thx, Nuno

        A 2 Replies Last reply
        0
        • S sinosoidal

          Hi, Thx for your reply. Can you point me an example? Thx, Nuno

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

          ...just check out the BufferedGraphics entry in the msdn. That should get you started...repost in this thread if you still need further help after that and I'll see what I can pull up for you.

          Welcome my son...Welcome..to the Machine

          1 Reply Last reply
          0
          • S sinosoidal

            Hi, Thx for your reply. Can you point me an example? Thx, Nuno

            A Offline
            A Offline
            Alaric_
            wrote on last edited by
            #5

            Oh....btw, are you using .NET 1.1 or .NET 2.0? ...The BufferedGraphics object is only available in 2.0

            Welcome my son...Welcome..to the Machine

            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