Re: Maintaining NSCursor outside of app window

2011-01-14 Thread Corbin Dunn
On Jan 14, 2011, at 1:00 AM, Uli Kusterer wrote: > On 14.01.2011, at 01:37, Corbin Dunn wrote: >> - (void)draggedImage:(NSImage *)draggedImage movedTo:(NSPoint)screenPoint >> >> Then do something like this (after converting the screen point to window >> coords): >> >> NSPoint windowPoint = [

Re: Maintaining NSCursor outside of app window

2011-01-14 Thread Uli Kusterer
On 14.01.2011, at 01:37, Corbin Dunn wrote: > - (void)draggedImage:(NSImage *)draggedImage movedTo:(NSPoint)screenPoint > > Then do something like this (after converting the screen point to window > coords): > >NSPoint windowPoint = [[view window] mouseLocationOutsideOfEventStream]; >NSP

Re: Maintaining NSCursor outside of app window

2011-01-13 Thread Quincey Morris
On Jan 13, 2011, at 16:48, Markus Spoettl wrote: > On Jan 13, 2011, at 7:37 PM, Corbin Dunn wrote: >> - (void)draggedImage:(NSImage *)draggedImage movedTo:(NSPoint)screenPoint >> >> Then do something like this (after converting the screen point to window >> coords): >> >>NSPoint windowPoint

Re: Maintaining NSCursor outside of app window

2011-01-13 Thread Markus Spoettl
On Jan 13, 2011, at 7:37 PM, Corbin Dunn wrote: > - (void)draggedImage:(NSImage *)draggedImage movedTo:(NSPoint)screenPoint > > Then do something like this (after converting the screen point to window > coords): > > NSPoint windowPoint = [[view window] mouseLocationOutsideOfEventStream]; >

Re: Maintaining NSCursor outside of app window

2011-01-13 Thread Corbin Dunn
Hi Markus, Use: - (void)draggedImage:(NSImage *)draggedImage movedTo:(NSPoint)screenPoint Then do something like this (after converting the screen point to window coords): NSPoint windowPoint = [[view window] mouseLocationOutsideOfEventStream]; NSPoint localPoint = [view convertPoint:w

Maintaining NSCursor outside of app window

2011-01-13 Thread Markus Spoettl
Hello, I have a drag-n-drop UI where I use the [NSCursor disappearingItemCursor] to indicate that if you drop now, you're going to remove the item being dragged. I do this by setting the cursor when my dragging destination receives a -draggingExited: message (the dragging destination and sour