• 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
showing panel keeps activating other panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

showing panel keeps activating other panel


  • Subject: showing panel keeps activating other panel
  • From: "Marc Wan" <email@hidden>
  • Date: Wed, 25 Jul 2007 13:37:17 +0800

hello!

 my application shows a little utility window sometimes (NSPanel)
alongside the main window.  i show it by calling [utlilityWindow
orderFront].  the main window keeps the focus and i can play around in
this window no problem.

 the probem, however, is if i show any modal panels (dialogs), such
as a file open dialog, or anything else that isn't a sheet attached to
the main window.    when this dialog is dismissed, suddenly my little
utility is the first responder and has keyboard focus.

 so ... what would cause this and what would be the correct way to
fix it?  i'd like to understand why this is happening instead of just
hacking crap until the problem goes away ... :-P.

 thanks,
 marc.
_______________________________________________

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


  • Prev by Date: C++ framework
  • Next by Date: Re: C++ framework
  • Previous by thread: Re: C++ framework
  • Next by thread: Hierarchical defaults in NSUserDefaults?
  • Index(es):
    • Date
    • Thread