Re: wired things about NSApp Modal
Re: wired things about NSApp Modal
- Subject: Re: wired things about NSApp Modal
- From: Nir Soffer <email@hidden>
- Date: Sat, 9 Feb 2008 14:52:13 +0200
On Feb 9, 2008, at 04:50, cai qin wrote:
I got some wired things. Can someone give me some explanation ?
I got a Window A. I call [NSApp RunModalForWindow] to make it modal
Inside Window A's notification method , windowDidBecomeKey , I call
[NSApp
abortModal] ,What I want to do is that not letting the window
showing up.
But the window is still showing up as Modal window ,but when you
switch the
app to others and then switch back , the window disappeared , and
the Modal
stops.
Is this wired? I can't figure out why it acts like this?
What are you trying to do? why do you run a window modally if you
don't want it to show?
Best Regards,
Nir Soffer
_______________________________________________
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