Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mkristain

macrumors regular
Original poster
Aug 18, 2011
115
0
hi i am using IKImageBrowserView to view thumbnail of images here if i drag a item to desktop its copy the selected list item image, dont want to use this so please tell me how can i stop or disable the dragging here.

thanks.
 
Hi,

I am using IKImageBrowserView to view thumbnail of images.
If I drag a item to desktop the selected list item image is copied.
I don't want to use this.
So please tell me how can i stop or disable the dragging here.

thanks.

Punctuation and capitalization. They help to get your question across.
IKImageBrowserView conforms to the NSDraggingSource Protocol.
My guess is that overwriting this method:
Code:
 (void)draggingSession:(NSDraggingSession *)session willBeginAtPoint:(NSPoint)screenPoint;
will probably do the trick.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.