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. Visual Basic
  4. Rubber Banding in VB 2008

Rubber Banding in VB 2008

Scheduled Pinned Locked Moved Visual Basic
c++javagraphicshelp
4 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.
  • S Offline
    S Offline
    StefanGeorgiev
    wrote on last edited by
    #1

    Some languages like C++ and Java have mode for the graphics object called XORmode. This makes the rubber banding easier. You just set the XORmode for the graphics object and it does the work. In VB 2008, yes, it could be done but it looks like it is several times more effort. I hope I am missing something. Please help. Thanks, Stefan

    R G 2 Replies Last reply
    0
    • S StefanGeorgiev

      Some languages like C++ and Java have mode for the graphics object called XORmode. This makes the rubber banding easier. You just set the XORmode for the graphics object and it does the work. In VB 2008, yes, it could be done but it looks like it is several times more effort. I hope I am missing something. Please help. Thanks, Stefan

      R Offline
      R Offline
      Ranjit Viswakumar
      wrote on last edited by
      #2

      Microsoft has a How-to in this very issue- http://support.microsoft.com/kb/71488[^] Take a look. Good luck!

      Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

      G 1 Reply Last reply
      0
      • S StefanGeorgiev

        Some languages like C++ and Java have mode for the graphics object called XORmode. This makes the rubber banding easier. You just set the XORmode for the graphics object and it does the work. In VB 2008, yes, it could be done but it looks like it is several times more effort. I hope I am missing something. Please help. Thanks, Stefan

        G Offline
        G Offline
        Guffa
        wrote on last edited by
        #3

        Use the DrawReversibleFrame method. Here you have examples and everything: MSDN Library: ControlPaint..::.DrawReversibleFrame Method [^]

        Despite everything, the person most likely to be fooling you next is yourself.

        1 Reply Last reply
        0
        • R Ranjit Viswakumar

          Microsoft has a How-to in this very issue- http://support.microsoft.com/kb/71488[^] Take a look. Good luck!

          Ranjit Viswakumar Professional Services Specialist http://hostmysite.com/?utm\_source=bb

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          That's not for VB 9, that's for VB 3!

          Despite everything, the person most likely to be fooling you next is yourself.

          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