Try this,
NSPoint apoint = [self convertPoint:[sender draggedImageLocation]
fromView:nil];
HTH,
Chaitanya
On 08-Dec-08, at 11:26 PM, Gustavo Pizano wrote:
Hello all.
Well Im performing a drag-ndrop between views of the same app, I
implemented the - (NSDragOperation)draggingUpdated:(id <
On 9 Dec 2008, at 4:56 am, Gustavo Pizano wrote:
- (NSDragOperation)draggingUpdated:(id < NSDraggingInfo >)sender
{
NSPoint converted = [NSEvent mouseLocation];
You should use the information you're given, where possible:
NSPoint location = [sender draggingLocation];
In this case
On 09/12/2008, at 3:56 AM, Gustavo Pizano wrote:
Well Im performing a drag-ndrop between views of the same app, I
implemented the - (NSDragOperation)draggingUpdated:(id <
NSDraggingInfo >)sender method, because I need to know the location
of the mouse so I can place the image in the corre
Hello all.
Well Im performing a drag-ndrop between views of the same app, I
implemented the - (NSDragOperation)draggingUpdated:(id <
NSDraggingInfo >)sender method, because I need to know the location of
the mouse so I can place the image in the correct position of the
view. But weirdly