draggingUpdated: event is not called on overlay window.

Discussion in 'Mac Programming' started by sudeepdua, Nov 26, 2007.

  1. sudeepdua macrumors newbie

    Nov 26, 2007
    Having problem when i drag and drop an image/folder from iphoto right panel and finder over the overlay window which is kept over my applications dock icon.I also have added the pasteboardtype NSFilesPromisePboardType which i think is the type for iphoto right panel and finder.The problem is i am not getting draggingUpdated: event while if i drag from the left panel of iphoto i get this event.
    i need the help in urgent i am tryiong a lot but no success so far.
    What i am doing is i want to put different images over the overlay window depending on the mouse position but as i am not getting any draagingUpdated event i am failed to do that.
    thanks in advance..
    Sudeep Dua
  2. kainjow Moderator emeritus


    Jun 15, 2000
    It only gets invoked periodically. Use the draggingEntered:, draggingExited: and draggingEnded: methods.

    I don't think NSFilesPromisePboardType is what you want. You probably want NSFilenamesPboardType.

Share This Page