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 PROTECTED]> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to