• 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
Modal only to another window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Modal only to another window?


  • Subject: Modal only to another window?
  • From: Howard Moon <email@hidden>
  • Date: Wed, 29 Feb 2012 15:05:59 -0800

HI,

	I have a an audio plug-in, run inside a host application, that provides me a window in which my plug-in's UI is drawn.  What I would like to do is to make a modal window, but one that in ONLY modal in relation to my plug-in window.  Is that possible?  It's easy on Windows, but I don't see how to do that in Cocoa.  The docs talk about an "application modal" or a "modal session", but neither of those looks appropriate.  I don't want to prevent the user from accessing the host or OTHER plug-ins' windows, but I need to prevent them from accessing MY plug-in's window until they click Save or Cancel.  So application modal doesn't look right.  On the other hand, a modal session doesn't seem right, either, since I'm not in a loop doing any work at the time, just waiting for the user to set some plug-in preferences.  And I I don't see any way to make the orderingMode permanent, such as an "alwaysOnTop" flag or something.

Thanks,
	Howard



_______________________________________________

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: Modal only to another window?
      • From: Graham Cox <email@hidden>
    • Re: Modal only to another window?
      • From: Charles Srstka <email@hidden>
  • Prev by Date: Re: How to: NSTableView redisplay
  • Next by Date: Re: Placeholder text on a multi-line NSTextField
  • Previous by thread: Autolayout: How to force calling [NSView baselineOffsetFromBottom] again?
  • Next by thread: Re: Modal only to another window?
  • Index(es):
    • Date
    • Thread