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

Re: Recognizing standard about box


  • Subject: Re: Recognizing standard about box
  • From: Bill Cheeseman <email@hidden>
  • Date: Fri, 28 Jun 2002 06:27:54 -0400

on 02-06-28 12:09 AM, Andy Lee at email@hidden wrote:

> At 5:42 PM -0400 6/27/02, Bill Cheeseman wrote:
>> Is there any way to determine whether an open window is the standard Cocoa
>> document-based application about box?
>
> Wait a minute. I just realized you can simply look at the window's
> delegate. If it's an instance of NSSystemInfoPanel, then it's the
> About panel.

I was about to suggest the same thing in response to your previous very
clever post. However, how do you know there will never be another panel in
an application having the same delegate? Its name is more general than I
would expect if it were specialized to the standard application About panel.

I tried to look inside NSSystemInfoPanel.nib, but it won't open using
Interface Builder or nibtool.

--

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>
References: 
 >Re: Recognizing standard about box (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: Recognizing standard about box
  • Next by Date: Re: Communication between classes
  • Previous by thread: Re: Recognizing standard about box
  • Next by thread: Re: Recognizing standard about box
  • Index(es):
    • Date
    • Thread