• 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
Recognizing standard about box
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Recognizing standard about box


  • Subject: Recognizing standard about box
  • From: Bill Cheeseman <email@hidden>
  • Date: Thu, 27 Jun 2002 17:42:15 -0400

Is there any way to determine whether an open window is the standard Cocoa
document-based application about box?

I get the list of my application's open windows from [NSApp windows]. To
examine the about box, I run the application in the debugger and make sure
only the about box is open and visible. I can see that it is an NSPanel
object. But I don't see anything distinctive about it that would let my
program recognize which one of many open windows is the standard about panel
at run time.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
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.

  • Follow-Ups:
    • Re: Recognizing standard about box
      • From: Andy Lee <email@hidden>
    • Re: Recognizing standard about box
      • From: Andy Lee <email@hidden>
    • Re: Recognizing standard about box
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: Quartz/memory benchmarks...
  • Next by Date: NSCountWindowsForContext usage?
  • Previous by thread: Re: Learning Cocoa with F-Script
  • Next by thread: Re: Recognizing standard about box
  • Index(es):
    • Date
    • Thread