On Nov 3, 2011, at 10:26 AM, Vojtěch Meluzín wrote: > Ok, let's try from the other end - how would you implement a popup menu? I > mean your own custom popup menu, where you want draw and do whatever you > want, but the method which called it has to wait for its result.
I wouldn't. A popup menu should be modal to its parent window, not to the app. I'd do it like I described--one call to display the child window, with a callback on completion. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com