Re: Hints for supporting dragging a file onto the dock icon, then onto a row in menu presented at that point?
Re: Hints for supporting dragging a file onto the dock icon, then onto a row in menu presented at that point?
- Subject: Re: Hints for supporting dragging a file onto the dock icon, then onto a row in menu presented at that point?
- From: "Stephen J. Butler" <email@hidden>
- Date: Thu, 13 Sep 2012 22:26:44 -0500
On Thu, Sep 13, 2012 at 2:40 PM, Chris Markle <email@hidden> wrote:
> 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.
I've never done this, but I think a good place to start would be with
the Dock Time Programming Guide:
https://developer.apple.com/library/mac/#documentation/Carbon/Conceptual/customizing_docktile/intro/dockintro.html#//apple_ref/doc/uid/TP30000986-CH1-TP1
Maybe create a custom view for your dock tile then track the mouse
and/or drag events over it?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden