• 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: Window title bar accessory view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window title bar accessory view


  • Subject: Re: Window title bar accessory view
  • From: Houdah - ML Pierre Bernard <email@hidden>
  • Date: Wed, 19 Nov 2008 10:54:39 +0100

Hi Kyle!

Thanks a lot.

This sounds like a great idea. I will give it a try ASAP.

Pierre

On 19 Nov 2008, at 04:03, Kyle Sluder wrote:

On Tue, Nov 18, 2008 at 9:26 PM, Houdah - ML Pierre Bernard
<email@hidden> wrote:
I would like to replicate the accessory views found in the top right of
window title bars. Examples include Coda, iCal, Safari,...

Are you talking about things like the little lock icon in HTTPS Safari windows? If so, use -[NSWindow standardWindowButton:] to get an NSButton instance, and then use -[NSView superview] to get at the window frame view. Then use -[NSView addSubview:] to add your custom view and position it accordingly.

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Window title bar accessory view (From: Houdah - ML Pierre Bernard <email@hidden>)
 >Re: Window title bar accessory view (From: "Kyle Sluder" <email@hidden>)

  • Prev by Date: Re: Window title bar accessory view
  • Next by Date: Re: Opening Ports in Leopard
  • Previous by thread: Re: Window title bar accessory view
  • Next by thread: RE:Window title bar accessory view
  • Index(es):
    • Date
    • Thread