Bruno Wernimont
Bruno Wernimont

Reputation: 101

[Mac]How to reproduce drag and drop from cloudapp in the system bar menu?

I'm trying to reproduce the drag and drop into the system bar menu of cloudapp for mac. I've done some search but doesn't find anything that could help me. To create the menu I followed this tutorial http://cocoatutorial.grapewave.com/2010/01/creating-a-status-bar-application/ but now I'm stuck on the drag and drop.

Does anyone now how to do that ?

Upvotes: 3

Views: 1461

Answers (1)

Rob Keniger
Rob Keniger

Reputation: 46020

You need to use a custom view in your NSStatusItem and implement drag and drop in that view.

I posted example code in my answer to this question.

Upvotes: 3

Related Questions