• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
drag source help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

drag source help


  • Subject: drag source help
  • From: "Ender Wiggins" <email@hidden>
  • Date: Fri, 7 Jul 2006 19:36:49 -0500

Hi all,

I have an NSView->NSTabView->NSMatrix->NSImageCell which will all be
placed in a drawer of my application. I'm trying to make the icons
inside the NSImageCell's a drag source. My drag destation works
because I can drag images into it, but my source doesn't.

I have a view instance in my NIB window and it's custom class is set
to the class "MyView" which I subclassed from NSMatrix and where I
included the informal drag source protocol including the mouseDown:
method. Also, this class contains an outlet for each NSImageCell which
is connected in IB.

My problem is that I can't get the mouseDown: method to get called
when I click on the icon in my palette (a cell in NSMatrix).

Anyone have ideas what might be going on here? Any help much appreciated.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: drag source help
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Objective-C and it's future
  • Next by Date: Re: Re: Objective-C and it's future
  • Previous by thread: DVD sound Playback
  • Next by thread: Re: drag source help
  • Index(es):
    • Date
    • Thread