• 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
How do I trigger IBAction with custom "button" based on NSView...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I trigger IBAction with custom "button" based on NSView...


  • Subject: How do I trigger IBAction with custom "button" based on NSView...
  • From: Nat Edar <email@hidden>
  • Date: Thu, 3 Jan 2008 11:46:20 -0800

I have an NSView that has custom drawing and "hotspot". I want to be able to connect it to an IBAction function on my controller. However, in my hitTest (or mouseDown), I need to somehow trigger any attached action.

Is there some sort of function that needs to be overridden?

Thanks in advance!!!

Nat.
_______________________________________________

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


  • Follow-Ups:
    • Re: How do I trigger IBAction with custom "button" based on NSView...
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: NSRect to carbon Rect conversion
  • Next by Date: Re: How do I trigger IBAction with custom "button" based on NSView...
  • Previous by thread: [ANN] AppKiDo 0.971 -- better Leopard support, no brushed metal
  • Next by thread: Re: How do I trigger IBAction with custom "button" based on NSView...
  • Index(es):
    • Date
    • Thread