Re: Current active window is modal or not
Re: Current active window is modal or not
- Subject: Re: Current active window is modal or not
- From: Ron Ballesteros <email@hidden>
- Date: Tue, 6 Jan 2004 08:40:31 -0800
I think in the NSApplication there is - (NSWindow *)modalWindow which
returns the window that is currently being displayed. If the window is
not modal it returns nil.
There might be a better way such as - (BOOL)isModalWindow:(NSWindow *)
not sure if there is somethign like this in the documentation.
~r
On Jan 6, 2004, at 3:50 AM, Ramakrishna Kondapalli wrote:
Hi,
I want to determine whether my current active window is modal or not in
a Cocoa application. Is there a method through which I can do this?
-------------------------------------------------------
Thanks & Regards,
Ramakrishna,
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.