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: "Ramakrishna Kondapalli" <email@hidden>
- Date: Wed, 7 Jan 2004 12:16:42 +0530
- Thread-topic: Current active window is modal or not
Hi,
Thanks you. Yes, it worked well.
-------------------------------------------------------
Thanks & Regards,
Ramakrishna,
-----Original Message-----
From: Ron Ballesteros [
mailto:email@hidden]
Sent: Tuesday, January 06, 2004 10:11 PM
To: Ramakrishna Kondapalli
Cc: email@hidden
Subject: Re: Current active window is modal or not
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.