On Sep 2, 2010, at 5:28 AM, John C. Randolph wrote:


On Sep 1, 2010, at 8:15 PM, Eric E. Dolecki wrote:

Top left, the traffic lights have been turned to the vertical. Is this
something new or was this easy to do before? Is it just a custom
implementation, or?

It's pretty easy to implement that kind of thing. NSWindow has a - standardWindowButton: method that will give you a close button, zoom button, etc.

It's not easy.

1. If you retrieve a NSButton with the official API, you will not be able to get the mouse over effect. This is a bug since Mac OS X 10.4 and it has still not been fixed in Mac OS X.

2. The NSButton Apple uses for NSWindow buttons are not simple NSButtons. And you can not display the mouse over version of the button rendering (as far as I've tried and Apple's DTS was not able to provide a solution either).



_______________________________________________

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 arch...@mail-archive.com

Reply via email to