Hi,
I am creating a  new Button like the window's close button to attach it to my  
splitview to give is same close action.

The problem is the button does not displays cross while I the hover mouse over 
it.

NSButton *closeControl = [NSWindow standardWindowButton:NSWindowCloseButton 
forStyleMask:[myNSWindow styleMask]];
[myNSView addSubview: closeControl];

Setting it as highlight does not help, it showsup the pressed state. Is there a 
setting that I am missing?

Regards
Sanjay

_______________________________________________

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

This email sent to arch...@mail-archive.com

Reply via email to