• 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
Subviews and their contextual menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Subviews and their contextual menu


  • Subject: Subviews and their contextual menu
  • From: Johan Kool <email@hidden>
  • Date: Tue, 3 Jun 2003 11:59:43 +0200

Hello all,

I have a scrollview to which documentview I add subviews. I've subclassed my subview to add tags so I can identify them. Each subview I connect to a contextual menu using setMenu. I've connected one menuitem to an action in a windowcontroller. Now if the user uses the connected contextual menu item, how do I know which subview was used to show the contextual menu? Sender refers to the contextual menu itself obviously.

Thanks in advance!

Johan Kool
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Subviews and their contextual menu
      • From: Tobias Hermann <email@hidden>
  • Prev by Date: Re: Static linking with the Mach-O linker in PB
  • Next by Date: Re: Subviews and their contextual menu
  • Previous by thread: Re: Drag-n-Drop file into text field
  • Next by thread: Re: Subviews and their contextual menu
  • Index(es):
    • Date
    • Thread