Implementing Drag and Drop in a drawing program in C#

  • Thread starter Thread starter jaffar.kazi
  • Start date Start date
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
 
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?
 
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
 
Back
Top