• 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
Cocoa and modality (was: modal over modal)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa and modality (was: modal over modal)


  • Subject: Cocoa and modality (was: modal over modal)
  • From: Steven Kramer <email@hidden>
  • Date: Sun, 17 Apr 2005 13:33:20 +0200


For the record: Kyle is right, I didn't bother to read the code. The bug I was thinking of has to do with nested modal sessions. I was triggered by the keyword 'modal' because I have encountered numerous problems with modal sessions and modal windows. That part of Cocoa does not seem to be the best tested, maybe because the HIG frowns upon modality. I would like to know if others have had similar experiences...


   Steven

Op 16-apr-05 om 17:58 heeft Kyle Hammond het volgende geschreven:

Hi,

Remove that call to [NSApp stopModal] and only the dlgBrowse will go away when it's done. There's no need to do a sheet or any other weird contortions to get modal on modal windows working. You can have many levels of modal windows all going if you really need to; it's not the greatest design to force the user through many levels of modal windows, but there's nothing in Cocoa preventing you from doing it.

It's not a Cocoa bug, it's a programming error.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: modal over modal problem (From: Kyle Hammond <email@hidden>)

  • Prev by Date: Re: Custom view, selection consistency with NSTableView
  • Next by Date: changing the highlighting mode
  • Previous by thread: Re: modal over modal problem
  • Next by thread: How can I peer into a dynamic library to view the headers/contents?
  • Index(es):
    • Date
    • Thread