I didn't pull my code from Chromium, I just noticed in my googling that they
used the undocumented method that is required to get the mouse over effects to
work.
I ended up sticking with the standard Cocoa buttons that NSWindow provides for
my custom window as it requires the least amount of
I have a custom window (NSBorderlessWindowMask) that requires using the
standard close/minimize/zoom buttons.
NSWindow's standardWindowButton:forStyleMask: method works great for creating
these buttons and adding to my custom (frame) view. However, the mouse over
effect does not work without
On Jan 20, 2010, at 9:43 AM, Kevin Wojniak wrote:
NSWindow's standardWindowButton:forStyleMask: method works great for creating
these buttons and adding to my custom (frame) view. However, the mouse over
effect does not work without using undocumented methods. Mainly, overriding