Implementing Drag and Drop in a drawing program in C#

J

jaffar.kazi

Hi.
I'm implementing a drawing like program. The functionality I want is
something like this:
I have a drawing area. When I draw something on it, I have the ability
to move it around.

However, if I move it OUTSIDE the drawing area, a new drawing area
should be created and the drawing should be placed on that.

For such a functionality what all events would I need to implement and
what would be the rough structure of the code?

Thanks in Advance,
-Jaffar
 
G

Guest

If your "drawing area" is it's own window you'll have to make sure you can
not only drop in that window, but the containing window. Do you have an MDI
design?
 
J

jaffar.kazi

No, we don't have a MDI design. We have 2 separate areas. One is the
drawing area, one is a thumbnail area.

regards,
--Jaffar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top