DragDrop, Click and DoubleClick on a PictureBox

  • Thread starter Thread starter Jesse
  • Start date Start date
J

Jesse

Hi --

Newbish question here. I've got a FlowLayoutPanel with a bunch of
PictureBoxes in it. The pictureBoxes need to handle Click, DoubleClick and
DragDrop events.

I handled Click and DoubleClick, no problem. But when I try to use MouseDown
to initiate a dragdrop, I lose my click and doubleClick events. (That is,
every MouseDown initiates a dragDrop, and no Click or DoubleClick event gets
raised at all.)

Can anybody explain the right way to do this, or point me to a complete
example of code that handles all three events for the same object?

Thanks!

(What I'm trying to do is use a FlowLayoutPanel to display a bunch of
pictures side by side, and let the user drag-and-drop them to change the
order.)

--
 
Back
Top