How to drag graphic elements

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu