wired things about NSApp Modal
wired things about NSApp Modal
- Subject: wired things about NSApp Modal
- From: "cai qin" <email@hidden>
- Date: Fri, 8 Feb 2008 18:50:25 -0800
Hi all ,
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?
_______________________________________________
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