Drawing and moving objects


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Drawing and moving objects

  1. #1
    Doug Guest

    Drawing and moving objects


    I would like to develop a program that would allow graphic objects to be placed
    on the program window,e.g., an object representing a rectangular table, which
    can be moved around the window and resized with the mouse similar to the
    way we can move and resize controls in design view.

    My first attemps have been with moving image controls which can be done with
    the mouse events but it isn't smoth and doesn't provide a resizing capability.
    Are there Windows API functions that provide the resize handles and move
    capability?

    Would appreciate any thoughts on areas I could research to move on with this.

    Thanks

    Doug

  2. #2
    Mike D Sutton Guest

    Re: Drawing and moving objects

    > I would like to develop a program that would allow graphic objects to be
    placed
    > on the program window,e.g., an object representing a rectangular table,

    which
    > can be moved around the window and resized with the mouse similar to the
    > way we can move and resize controls in design view.
    >
    > My first attemps have been with moving image controls which can be done

    with
    > the mouse events but it isn't smoth and doesn't provide a resizing

    capability.
    > Are there Windows API functions that provide the resize handles and move
    > capability?
    >
    > Would appreciate any thoughts on areas I could research to move on with

    this.

    See the bezier spline demo on my page (On the files page) I've used that
    that technique before to resize controls/objects at runtime.
    Hope this helps,

    Mike


    -- EDais --

    WWW: Http://Members.xoom.com/EDais/
    Work E-Mail: EDais@btclick.com
    Other E-Mail: Mike.Sutton@btclick.com



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