mouseDown & mouseDragged - Cannot select multiple cells
mouseDown & mouseDragged - Cannot select multiple cells
- Subject: mouseDown & mouseDragged - Cannot select multiple cells
- From: Manish Pattath <email@hidden>
- Date: Wed, 1 Dec 2004 14:00:14 +0000 (GMT)
Hi,
I have a NSMatrix made of NSButtonCells. One or more
cells can be selected and dragged. At the drop
location some processing is handled.
I am overriding the mouseDown and the mouseDragged
implementation. Things are perfectly fine when a
single cell is selected,dragged & dropped.
There are 2 problems that i am currently facing.
1] I want to select multiple cells when apple key is
held down. for the multiple cells selection it is
necessary [MUST] to have a [super mouseDown:theEvent]
in my mouseDown implementation.
In this case, mouseDragged NEVER gets called.
obviously the mouseDown "super" call is eating up the
events.
2] If the super call in the mouseDown is removed, then
mouseDragged works fine but only for single cells and
not multiple cells.
Is there a way that i can select single/multiple cells
and also get the mouseDragged event.
Is the only alternative to handle this - handle the
cell selection on my own which is really a tedious
task.
Any help is greatly appreciated.
Thanks a lot in advance.
Rgds,
Manish.
________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden