how to stop or disable dragging in IKImageBrowserView?

Discussion in 'Mac Programming' started by mkristain, Aug 26, 2011.

  1. mkristain macrumors regular

    Joined:
    Aug 18, 2011
    #1
    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.
     
  2. MrFusion macrumors 6502a

    Joined:
    Jun 8, 2005
    Location:
    West-Europe
    #2
    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.
     
  3. mkristain thread starter macrumors regular

    Joined:
    Aug 18, 2011

Share This Page