in my app i want to drag a view around and if a key is pushed while the dragging is occuring i want something to happen
for example, you start the drag operation and then hold down alt and it copies the view to the clipboard
or you hold down c and the view snaps to a grid
i thought the event sent to mouseDragged: would also have key events but it appears that it doesn't and it causes a crash if i try read what key is being pushed...
how should i do this?
for example, you start the drag operation and then hold down alt and it copies the view to the clipboard
or you hold down c and the view snaps to a grid
i thought the event sent to mouseDragged: would also have key events but it appears that it doesn't and it causes a crash if i try read what key is being pushed...
how should i do this?