NSButton in a NSPanel's top-right corner?
Hi there I would like to have a NSButton in my NSPanel's top-right corner (Like the app on this image: http://img363.imageshack.us/img363/5733/bild5ex0.png ) but I have absolutely no idea of how to achieve this so any help would be appreciated. Thanks, Tim ___ 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]
Re: NSButton in a NSPanel's top-right corner?
Get a reference to a standard button using -[NSWindow standardWindowButton:], and then insert your button into its superview. Position it as you normally would. --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]