How to drag graphic elements
- Posted by Joel Garcia <heyjoel at comcast.net> Feb 13, 2007
- 491 views
I'm looking for any advice on how to go about accomplishing the following: I wish to display two points in a window and draw a line between them. Then I would like to be able to drag either of the points around the window while maintaining the line between them. If necessary, the points could be represented by a bitmap, icon, control or whatever works, though I wish to keep the object small (perhaps 10x10 pixels). Any help is appreciated. I am currently using the Win32Lib, but am open to other resources. Thanks for your time, Joel Garcia