implementing pop up menus
implementing pop up menus
- Subject: implementing pop up menus
- From: James McCartney <email@hidden>
- Date: Fri, 17 Jan 2003 23:46:26 -0800
OK I've got an NSView subclass that contains widgets that are not
NSViews. I want to have a mouse click in certain locations pop up a
menu selection. I can do that using
NSMenu popUpContextMenu:withEvent:forView:
but afaik, the above method does not give me control over what item is
under the mouse when it pops up. The above only seems useful for
contextual menus. I need to call whatever NSPopUpButton uses to bring
up a menu. What is that?
--
--- james mccartney email@hidden <
http://www.audiosynth.com>
SuperCollider - a real time synthesis programming language for the
PowerMac.
<
ftp://www.audiosynth.com/pub/updates/SC2.2.16.sea.hqx>
_______________________________________________
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.