• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Current active window is modal or not
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: People who develop with MySQL and/or other GPL based code
  • Next by Date: Re: People who develop with MySQL and/or other GPL based code
  • Previous by thread: Current active window is modal or not
  • Next by thread: RE: Current active window is modal or not
  • Index(es):
    • Date
    • Thread