Re: Disabling Certain Title bar controls
Re: Disabling Certain Title bar controls
- Subject: Re: Disabling Certain Title bar controls
- From: "John C. Randolph" <email@hidden>
- Date: Sun, 16 Jul 2006 23:38:18 -0700
On Jul 16, 2006, at 9:15 PM, <email@hidden>
<email@hidden> wrote:
Hi I.S,
Yeah, I used the wrong terminology .
I am talking about the close button on the title bar,need to
disable it
for some time and then enable it back.
How do I achieve this.
That's not supported. If you want to prevent a window from being
closed, implement -windowShouldClose: in the window's delegate, and
do something like show an alert sheet that tells the user why you're
not going to let the window close.
-jcr
"This is not a book to be tossed aside lightly. Rather, it should be
hurled with great force." -Dorothy Parker
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden