• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Disabling Certain Title bar controls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • RE: Disabling Certain Title bar controls
      • From: Vinay Prabhu <email@hidden>
References: 
 >RE: Disabling Certain Title bar controls (From: <email@hidden>)

  • Prev by Date: Re: cocoa based forums
  • Next by Date: RE: Disabling Certain Title bar controls
  • Previous by thread: RE: Disabling Certain Title bar controls
  • Next by thread: RE: Disabling Certain Title bar controls
  • Index(es):
    • Date
    • Thread