I'm pretty new to OS X development and just looking for hints about
how to do something like this... I saw an app called Dragster that
allows you to drag a file over the dock icon for the app, at which
point a menu of rows opens up form the app icon, and you can continue
to drag the file over a particular row. I'd like to emulate that
notion of dragging a file over the dock icon, then over a row in a
menu presented from the icon.
So far I've played with:

1. Using the openFile: and openFiles: NSApplication delegates to let
me handle dragging a file over the icon and handling that.

2. Modifying the dock menu to add items and separators to the dock
menu (at least simple cases). But what I notice here is that this menu
if presented on a two-fingered click of the doc icon, not presented
when I drag the file over the dock icon.

How do I get the or a menu to show when I drag the file onto the icon?
Then, once I get a menu showing, how do I get to the point where I can
drag the file onto a row in the menu?

I'm perfectly fine with pointers for things and areas to look at
relative to this... Thanks in advance!

Chris
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to