0

Is it possible to detect a right-mouse click while dragging a picture across the win form and if it possible how would I need to do it?

I tried doing this:

battleBoard[outLoop, inLoop].Tag = outLoop.ToString() + "," + inLoop.ToString();
battleBoard[outLoop, inLoop].MouseEnter += new EventHandler(boardEnter);
battleBoard[outLoop, inLoop].MouseLeave += new EventHandler(boardLeave);
battleBoard[outLoop, inLoop].DragEnter += new DragEventHandler(boardDragE);
battleBoard[outLoop, inLoop].DragLeave += new EventHandler(boardDragL);
battleBoard[outLoop, inLoop].DragDrop += new DragEventHandler(boardDragD);
battleBoard[outLoop, inLoop].MouseClick += new MouseEventHandler(boardClicked);

But still the click event does not trigger while I am dragging a picture. I hope that someone can assist me with my problem. Thanks.

0 Answers0