Re: image transition while dragging

2009-04-23 Thread rajesh
Hi Kai, application is targeted for 10.5.+ and I assumed it should be easy in Leopard. temporary window sums up how the frame change of drag-image is handled so smooth and neatly. thanks Rajesh On Apr 23, 2009, at 5:45 PM, Kai Brüning wrote: Hi Rajesh, as far as I know Cocoa has no pro

Re: image transition while dragging

2009-04-23 Thread Kyle Sluder
On Thu, Apr 23, 2009 at 11:45 AM, Kai Brüning wrote: > - Return no or an empty image from dragImageForRowsWithIndexes:, track the > mouse yourself and move a temporary window with an image of your chosing > around on the screen. Should be doable, but probably not in a single > afternoon. I believ

Re: image transition while dragging

2009-04-23 Thread Kai Brüning
Hi Rajesh, as far as I know Cocoa has no provision for this at least up to Leopard. (If I remember correctly, you could do this easily with Carbon ;-) ) If you absolutely want this behavior, I can think of two ways to persuade: - Return no or an empty image from dragImageForRowsWithInde

image transition while dragging

2009-04-23 Thread rajesh
Hi All, I am working on dragging table row (not for re-ordering or deleting) onto a NSView I am returning an processed image (for dragImage) in - (NSImage *)dragImageForRowsWithIndexes:(NSIndexSet *)dragRows tableColumns:(NSArray *)tableColumns event:(NSEvent *)dragEvent offset