Hi,

I need to hide my window title bar and add the default
buttons(close/min/max) to my custom view.
I'm using NSWindow's "standardWindowButton:forStyleMask" to get those
buttons.

I want to emulate the default close button that when you hover over it, it
causes the "x" to appear. I tried doing it using a tracking info, and
setting it to highlighted when the mouse is over it. (mouseEntered). It
seems to work, besides when the window is not active, which in that case,
the button look pressed when you set it back to non highlighted (in the
mouseExit method) Any way to fix this ?

pic attached.
[image: screen2.png]

Thanks

<<attachment: screen2.png>>

_______________________________________________

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