How to draw a self-erasing line or rubber-band line from a base point to the current mouse point?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How to draw a self-erasing line or rubber-band line from a base point to the current mouse point?

  1. #1
    Ad van Klink Guest

    How to draw a self-erasing line or rubber-band line from a base point to the current mouse point?


    How to draw a self-erasing line or rubber-band line from a base point to the
    current mouse point?

    Or is this the domain of C# / C++?

    The basic idea is to repeatedly drawing a object (i.e. example a line) from
    a base point (started by clicking once on the left mouse button) to the tracked
    mouse position, then undrawing it before drawing the next object. A second
    left mouse click should indicate the final point to draw to.

    Kind regards,
    Ad


  2. #2
    Constance J. Petersen Guest

    Re: How to draw a self-erasing line or rubber-band line from a base point to the current mouse point

    Hi Ad,

    "Ad van Klink" <ad_vanklink@mentor.com> wrote in message
    news:3d71e3bf$1@10.1.10.29...
    > How to draw a self-erasing line or rubber-band line from a base point to the
    > current mouse point?


    HOW TO: Draw a Rubber Band or Focus Rectangle in Visual Basic .NET
    http://support.microsoft.com/default...;EN-US;Q317479

    --
    Constance Petersen, DevX newsgroup section leader
    New look; new content: http://www.smartisans.com/
    Hot off the press!
    "Programming the Web with Visual Basic .NET"
    http://amazon.com/exec/obidos/ASIN/1...tancepeterseA/
    --
    Please reply in the newsgroup so everyone can benefit



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center