showing panel keeps activating other panel
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