Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling Certain Title bar controls



Looks like I was out of date on this. Back on NeXTSTEP, I wanted to do exactly this, and was told that disabling and/or removing the close button wasn't supported. As Vinay suggests, you can retrieve a pointer to the close button with -standardWindowButton: and then send it whatever messages you like.

-jcr
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >RE: Disabling Certain Title bar controls (From: Vinay Prabhu <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.